commit:     d431bac6d7e6ab86ae21d96bd870e61666d560a6
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Mon Dec  8 21:11:58 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 24 17:14:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d431bac6

dev-cpp/jsoncons: add 1.5.0

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/44964
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/jsoncons/Manifest              |  1 +
 dev-cpp/jsoncons/jsoncons-1.5.0.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/dev-cpp/jsoncons/Manifest b/dev-cpp/jsoncons/Manifest
index 8e26c961c3ef..e81df105ad58 100644
--- a/dev-cpp/jsoncons/Manifest
+++ b/dev-cpp/jsoncons/Manifest
@@ -1 +1,2 @@
 DIST jsoncons-1.4.3.tar.gz 1541372 BLAKE2B 
599b0df49615e0ec30aa03bce141117574ac9d7710a41268062e48fc55f0e05b8ea4d1482a1489c1cb6f56ea587580054c9fa7d45a228269c38e9331af3d4aeb
 SHA512 
01b6df6354b3f6f29dcc341b74d94f6a45846546e67adf34cff3bd1befcf436390fa246faf5da4153f6ce3a5c5b3ec8c160e5bc9a0e1a7dc2b092a3e3f0fd69d
+DIST jsoncons-1.5.0.tar.gz 1554707 BLAKE2B 
c95ab53cf89e5e961b1e31fa218e18ad55bea31b6357b6964ec8c3809943617e4d4271579e49df3cc13e3776eb6d2537727c5e70b7179c70e299ff1e845cd0a8
 SHA512 
ce4ff8aaf31ad781e5caaf27172c867a8009bcc322dee5e34c6815434dbb234bf0d22ee9caa82c0ee1a9b25f3355da4363b5d663fded46a9ffc58ca802dad4ae

diff --git a/dev-cpp/jsoncons/jsoncons-1.5.0.ebuild 
b/dev-cpp/jsoncons/jsoncons-1.5.0.ebuild
new file mode 100644
index 000000000000..79fff7668853
--- /dev/null
+++ b/dev-cpp/jsoncons/jsoncons-1.5.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ header-only library for JSON and JSON-like data formats"
+HOMEPAGE="https://danielaparker.github.io/jsoncons/ 
https://github.com/danielaparker/jsoncons";
+SRC_URI="https://github.com/danielaparker/jsoncons/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="Boost-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DOCS=( doc )
+
+# uses modified version of catch.hpp, doesn't work with upstream catch2
+
+src_configure() {
+       local mycmakeargs=(
+               -DJSONCONS_BUILD_TESTS=$(usex test)
+       )
+       cmake_src_configure
+}

Reply via email to