summaryrefslogtreecommitdiff
path: root/dev-cpp/jsoncons/jsoncons-1.3.2.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-09-05 08:13:23 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-09-05 08:13:23 +0000
commit3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2 (patch)
treecb83708f1390fccc0f8521b61b63a2d9ea7bd752 /dev-cpp/jsoncons/jsoncons-1.3.2.ebuild
parent5ce2273fa2607278dbc7825cd7f518b2f2c8561a (diff)
downloadsrcux-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.tar.gz
srcux-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.tar.xz
srcux-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.zip
Adding metadata
Diffstat (limited to 'dev-cpp/jsoncons/jsoncons-1.3.2.ebuild')
-rw-r--r--dev-cpp/jsoncons/jsoncons-1.3.2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/jsoncons/jsoncons-1.3.2.ebuild b/dev-cpp/jsoncons/jsoncons-1.3.2.ebuild
new file mode 100644
index 000000000000..e1270e10679b
--- /dev/null
+++ b/dev-cpp/jsoncons/jsoncons-1.3.2.ebuild
@@ -0,0 +1,34 @@
+# 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 )"
+
+PATCHES=(
+ "${FILESDIR}/${P}"-uninitialized.patch
+ "${FILESDIR}/${P}"-cmake4.patch
+ "${FILESDIR}/${P}"-usrshare.patch
+ "${FILESDIR}/${P}"-namespace.patch
+)
+
+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
+}