summaryrefslogtreecommitdiff
path: root/dev-libs/jsoncpp
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-16 10:53:11 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-16 10:53:11 -0500
commit8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b (patch)
treebb1e83c18d1cc77cdebfc5aeb9b12ad39c9787b5 /dev-libs/jsoncpp
parentf997c3ee588099e4f43e9ec845935868e3e60b8e (diff)
downloadbaldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.gz
baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.xz
baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.zip
Adding metadata
Diffstat (limited to 'dev-libs/jsoncpp')
-rw-r--r--dev-libs/jsoncpp/Manifest2
-rw-r--r--dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild60
-rw-r--r--dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild60
3 files changed, 122 insertions, 0 deletions
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest
index 767768ca9f30..d6c0166952ef 100644
--- a/dev-libs/jsoncpp/Manifest
+++ b/dev-libs/jsoncpp/Manifest
@@ -1 +1,3 @@
DIST jsoncpp-1.9.6.tar.gz 212682 BLAKE2B efa5dea68ddc175391200077666204f7ec66cd1f96a889a2a3c53d0e22e1f96ead1a2e7a871940f60dbd4261650f133b83de428b9c8b663fa13bd7ab4b9fdffe SHA512 006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08
+DIST jsoncpp-1.9.8-rc1.tar.gz 220095 BLAKE2B 16e90faff59999562f514eeb40a7d60a71636a28332d9ddde4c746cf4387ee3b7b09449bf3cb8d381ea69f7090040fcc5dd12d15aebb4c5f701f1b7def3444d7 SHA512 1324caae7e3cb9e7d0e855aa9515be82e7ef72fe3c714111ed128edbb718dd403611e69c4d28334343802fc9a5501847f83600d942b279d0c3ecc4649b6b39f0
+DIST jsoncpp-1.9.8.tar.gz 220066 BLAKE2B 5af250cf6d641cc7d8c4897222cc97ccdcf110db0858abf11656835e91eb1976ee82c2cdf26e0b244aa914e2b2d8ca796a9642419f6d567bbd234a6b02bf82ff SHA512 849957d9c87edc1d375698a9ea2709b7304cabc2b05ba180dc09f68653e32316e1ae4fe0108ab63ec7b56d255ccbc6ccf8715cf8396c1438edda775bec74b05b
diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild
new file mode 100644
index 000000000000..19c2cd2ba582
--- /dev/null
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit meson-multilib python-any-r1
+
+DESCRIPTION="C++ JSON reader and writer"
+HOMEPAGE="https://github.com/open-source-parsers/jsoncpp/"
+SRC_URI="
+ https://github.com/open-source-parsers/${PN}/archive/${PV/_/-}.tar.gz
+ -> ${P/_/-}.tar.gz
+"
+S=${WORKDIR}/${P/_/-}
+
+LICENSE="|| ( public-domain MIT )"
+SLOT="0/27"
+if [[ ${PV} != *_rc* ]]; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+fi
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+ doc? ( app-text/doxygen )
+"
+
+multilib_src_configure() {
+ local emesonargs=(
+ # Follow Debian, Ubuntu, Arch convention for headers location
+ # bug #452234
+ --includedir include/jsoncpp
+ -Dtests=$(usex test true false)
+ )
+ meson_src_configure
+}
+
+src_compile() {
+ meson-multilib_src_compile
+
+ if use doc; then
+ echo "${PV}" > version || die
+ "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die
+ HTML_DOCS=( dist/doxygen/jsoncpp*/. )
+ fi
+}
+
+multilib_src_test() {
+ # increase test timeout due to failures on slower hardware
+ meson_src_test -t 2
+}
+
+multilib_src_install() {
+ meson_install
+ # https://bugs.gentoo.org/941642
+ rm -r "${ED}/usr/$(get_libdir)/cmake" || die
+}
diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild
new file mode 100644
index 000000000000..19c2cd2ba582
--- /dev/null
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit meson-multilib python-any-r1
+
+DESCRIPTION="C++ JSON reader and writer"
+HOMEPAGE="https://github.com/open-source-parsers/jsoncpp/"
+SRC_URI="
+ https://github.com/open-source-parsers/${PN}/archive/${PV/_/-}.tar.gz
+ -> ${P/_/-}.tar.gz
+"
+S=${WORKDIR}/${P/_/-}
+
+LICENSE="|| ( public-domain MIT )"
+SLOT="0/27"
+if [[ ${PV} != *_rc* ]]; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+fi
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+ doc? ( app-text/doxygen )
+"
+
+multilib_src_configure() {
+ local emesonargs=(
+ # Follow Debian, Ubuntu, Arch convention for headers location
+ # bug #452234
+ --includedir include/jsoncpp
+ -Dtests=$(usex test true false)
+ )
+ meson_src_configure
+}
+
+src_compile() {
+ meson-multilib_src_compile
+
+ if use doc; then
+ echo "${PV}" > version || die
+ "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die
+ HTML_DOCS=( dist/doxygen/jsoncpp*/. )
+ fi
+}
+
+multilib_src_test() {
+ # increase test timeout due to failures on slower hardware
+ meson_src_test -t 2
+}
+
+multilib_src_install() {
+ meson_install
+ # https://bugs.gentoo.org/941642
+ rm -r "${ED}/usr/$(get_libdir)/cmake" || die
+}