gentoo/dev-cpp/rapidyaml/rapidyaml-0.9.0.ebuild
Ionen Wolkens 8560ddf2e9
dev-cpp/rapidyaml: add 0.9.0, 0.10.0
This been un-last-rited for upcoming kde-plasma/union (currently only
in kde overlay), but union is currently broken with both 0.10.0 and
old stable 0.6.0 so also adding 0.9.0 for the interim.

This is a simplified version of the original ebuild to make maintenance
easier (do not really want to spend more time than necessary on this
package anymore, feel free to take over maintenance if want to give
more care to this package).

Afaik union is likely still far from release, so could potentially be
last rited again if final version doesn't need it anymore.

Bug: https://bugs.gentoo.org/963014
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-10-09 11:33:56 -04:00

33 lines
908 B
Bash

# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Library to parse and emit YAML, and do it fast"
HOMEPAGE="https://github.com/biojppm/rapidyaml/"
SRC_URI="
https://github.com/biojppm/rapidyaml/releases/download/v${PV}/${P}-src.tgz
"
S=${WORKDIR}/${P}-src
LICENSE="MIT Boost-1.0 BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
# tests here are a maintenance headache, and current maintainer does
# not need this package anymore -- please take the package over if you
# want to handle this properly (keeping this in low maintenance mode
# incl. ignoring some features like python bindings)
RESTRICT="test"
DOCS=( README.md ROADMAP.md changelog )
src_prepare() {
cmake_src_prepare
sed -E "/set\(_(ARCHIVE|LIBRARY)_INSTALL/s:lib/:$(get_libdir)/:" \
-i ext/c4core/cmake/c4Project.cmake || die
}