summaryrefslogtreecommitdiff
path: root/dev-libs/jsoncpp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-12 12:31:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-12 12:31:24 +0100
commit3ea54510168a7ed4271b85f7292beca67346bfe9 (patch)
tree560f44ef2b85e5594b847ab20454e58b35ecd7e2 /dev-libs/jsoncpp
parent65a36438d5b824f80023c282dadc3fcd5736b526 (diff)
gentoo auto-resync : 12:09:2024 - 12:31:23
Diffstat (limited to 'dev-libs/jsoncpp')
-rw-r--r--dev-libs/jsoncpp/Manifest2
-rw-r--r--dev-libs/jsoncpp/jsoncpp-1.9.6.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest
index c031794cc500..575397b9c240 100644
--- a/dev-libs/jsoncpp/Manifest
+++ b/dev-libs/jsoncpp/Manifest
@@ -1,4 +1,6 @@
DIST jsoncpp-1.9.5.tar.gz 216055 BLAKE2B 744275297647be8f1ac7bbf6c818e5106fc122591b3fb68c37cf33f5b3b7d6666e8429bb7ca2ae693202a5a83c274303804e21ebb27f05ba235568bf75a9b375 SHA512 1d06e044759b1e1a4cc4960189dd7e001a0a4389d7239a6d59295af995a553518e4e0337b4b4b817e70da5d9731a4c98655af90791b6287870b5ff8d73ad8873
+DIST jsoncpp-1.9.6.tar.gz 212682 BLAKE2B efa5dea68ddc175391200077666204f7ec66cd1f96a889a2a3c53d0e22e1f96ead1a2e7a871940f60dbd4261650f133b83de428b9c8b663fa13bd7ab4b9fdffe SHA512 006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08
EBUILD jsoncpp-1.9.5-r1.ebuild 1232 BLAKE2B a3bd1759235ff55326bc2e058e9d85161ca7ccd5f486a85197bc5dcaf64e1af3044440552d33029a928834b4b663c6a4ca221342fe2211d378102fa5123bf258 SHA512 897ca6bf594af20a2c7aaef46268baa13f05902a8f64e9e7b83905681db8819f02c3c0627b555247df68f8831add01cae68159f41ba9b24d74af2b53c69be83c
EBUILD jsoncpp-1.9.5.ebuild 1193 BLAKE2B 15911fb84995505c9925546e61b9077f941270debbb54355d5a22429ce94b51910b7ff1f22fc2d8b4e66aa99b6e031bd99dc218dd2e08f95ffd9c873f4538732 SHA512 1ae4ea3827abc5682db457d8c554580ed05bb80218b6eb73aa0cd845f8c07121b65336fce903b6e50ccdc6ea28f9489502e8404a0d1dfcc364470827344764f4
+EBUILD jsoncpp-1.9.6.ebuild 1237 BLAKE2B d5e1f278b348ff3cc24a781b6e4b455ad906eba4e942ac85be7c323026d5af5976f2920ff2a0a2a6f511eeccf5d4e838e3c32e621baf7c58f24deb973a89498b SHA512 085d01da3c6c50d4f8134c4c730cb4286c28691f28a354b8b599f1f97292b40e7381e893aea6ea3636284454176062c943ce0fde550e9e329eedee249065f160
MISC metadata.xml 473 BLAKE2B cee9ea6f824489bf51f6c293faff24e62bb8c3457d49638b9547d104bfbed8b5c566e429b4d597dfa9b556955450c758261231ce83ea28216c1386a2d645176b SHA512 f7e2f0a82c5370802072e94a727bcb19d138979ab46670f01bdb17ed19b59f8e79bd28d37a8d939917f108fd4a64f53f67153ceaa9dad393840e9eb0247538e1
diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.6.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.6.ebuild
new file mode 100644
index 000000000000..0063c6350e4b
--- /dev/null
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+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
+"
+
+LICENSE="|| ( public-domain MIT )"
+SLOT="0/26"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+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
+}