commit:     beea7c40d5a09fbb999834cc9b4de629593c6847
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Thu Sep 18 21:59:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 18 22:55:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beea7c40

dev-cpp/jsoncons: add 1.4.1

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

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

diff --git a/dev-cpp/jsoncons/Manifest b/dev-cpp/jsoncons/Manifest
index df5adb1c62f9..d8b7caf77459 100644
--- a/dev-cpp/jsoncons/Manifest
+++ b/dev-cpp/jsoncons/Manifest
@@ -1 +1,2 @@
 DIST jsoncons-1.4.0.tar.gz 1537117 BLAKE2B 
633042b091fb1bcd5571420682de6f6c39a18299c1d1be025928226b22d1a9aa52ec2239b19ae38d3d75d19f4b0eaf67ee936096d9bdd7ec019484231a985207
 SHA512 
500a14ba6cb49d9c1ef04f39779f20b6718e3f4ad4418738b97ea8ffd49ebd7b87db046d1592cc0340d4d016a931ae3eb6888097af1216a30fc4c9e0be0d1337
+DIST jsoncons-1.4.1.tar.gz 1538291 BLAKE2B 
39a74727cad14592093a8a7046be9f3113d5e27013b5fced8792c5315fea0d8ec8ab511f84aa9ed7dfb97366d7cb3d9d0b3fb65844a6d1978052f67f973f426a
 SHA512 
0d4344256fd0f8b9534f652f66330bea50cd838820d2ca5c114f7b161c218ce87379c56c1513bc11a60d362b0b8efc19ef7e81bb23cff04fc10c7cf5a5d58a52

diff --git a/dev-cpp/jsoncons/jsoncons-1.4.1.ebuild 
b/dev-cpp/jsoncons/jsoncons-1.4.1.ebuild
new file mode 100644
index 000000000000..79fff7668853
--- /dev/null
+++ b/dev-cpp/jsoncons/jsoncons-1.4.1.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