Install this version:
emerge -a =app-misc/json-tui-1.4.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/json-tui-1.4.2
Or alternatively:
emerge --autounmask-write -a =app-misc/json-tui-1.4.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.4.2 | 8 | ~amd64 | 0 |
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A JSON terminal UI made in C++"
HOMEPAGE="https://github.com/ArthurSonzogni/json-tui"
SRC_URI="
https://github.com/ArthurSonzogni/json-tui/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
#RESTRICT="!test? ( test )"
RESTRICT="test" # broken tests
COMMON_DEPEND="
dev-cpp/args
dev-cpp/nlohmann_json
=gui-libs/ftxui-7*:=
"
DEPEND="
${COMMON_DEPEND}
test? (
dev-cpp/gtest
)
"
RDEPEND="${COMMON_DEPEND}"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
-DJSON_TUI_BUILD_TESTS=$(usex test)
-DJSON_TUI_CLANG_TIDY=OFF
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p app-misc/json-tui |
euse -E <flag> -p app-misc/json-tui |
euse -D <flag> -p app-misc/json-tui
dev-cpp/args dev-cpp/nlohmann_json =gui-libs/ftxui-7*:= test? ( dev-cpp/gtest )
dev-cpp/args dev-cpp/nlohmann_json =gui-libs/ftxui-7*:=
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | json-tui-1.4.2.tar.gz | 353105 bytes | https://github.com/ArthurSonzogni/json-tui/archive/refs/tags/v1.4.2.tar.gz |