commit: b5622c855c067a0d55c9666eb3f857f880e6a000 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Wed Mar 4 01:37:29 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 4 01:53:26 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5622c85
Revert "dev-cpp/jsoncons: drop 1.4.3" This reverts commit b69cd69f3486c217b6299d5c95280231f1a0f712. games-roguelike/tome requires this version Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/210 Merges: https://codeberg.org/gentoo/gentoo/pulls/210 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/jsoncons/Manifest | 1 + dev-cpp/jsoncons/jsoncons-1.4.3.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-cpp/jsoncons/Manifest b/dev-cpp/jsoncons/Manifest index c7c830cccefc..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.4.3.ebuild b/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild new file mode 100644 index 000000000000..79fff7668853 --- /dev/null +++ b/dev-cpp/jsoncons/jsoncons-1.4.3.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 +}
