Install this version:
emerge -a =dev-cpp/fkYAML-0.4.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/fkYAML-0.4.3
Or alternatively:
emerge --autounmask-write -a =dev-cpp/fkYAML-0.4.3
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.4.3 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
EGIT_COMMIT="721edb3e1a817e527fd9e1e18a3bea300822522e"
DESCRIPTION="A C++ header-only YAML library"
HOMEPAGE="https://fktn-k.github.io/fkYAML/"
SRC_URI="https://github.com/fktn-k/fkYAML/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? ( =dev-cpp/catch-2* )
"
PATCHES=(
"${FILESDIR}/${PN}-0.4.2_p20250522-Strip-Werror.patch"
"${FILESDIR}/${PN}-0.4.2_p20250522-Use-system-Catch2.patch"
)
src_prepare() {
find thirdparty -mindepth 1 -not -name imapdl -delete || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DFK_YAML_BUILD_TEST=$(usex test)
)
cmake_src_configure
}
Manage flags for this package:
euse -i <flag> -p dev-cpp/fkYAML |
euse -E <flag> -p dev-cpp/fkYAML |
euse -D <flag> -p dev-cpp/fkYAML
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | fkYAML-0.4.3.tar.gz | 586601 bytes | https://github.com/fktn-k/fkYAML/archive/721edb3e1a817e527fd9e1e18a3bea300822522e.tar.gz |