dev-cpp/jsoncons: add 1.4.2

Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43986
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alexey Sokolov 2025-09-29 19:13:43 +01:00 committed by Sam James
parent 8a43e0afb3
commit a191ea7e01
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 28 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST jsoncons-1.4.1.tar.gz 1538291 BLAKE2B 39a74727cad14592093a8a7046be9f3113d5e27013b5fced8792c5315fea0d8ec8ab511f84aa9ed7dfb97366d7cb3d9d0b3fb65844a6d1978052f67f973f426a SHA512 0d4344256fd0f8b9534f652f66330bea50cd838820d2ca5c114f7b161c218ce87379c56c1513bc11a60d362b0b8efc19ef7e81bb23cff04fc10c7cf5a5d58a52
DIST jsoncons-1.4.2.tar.gz 1538277 BLAKE2B 97826a3b7b4c872767a2c1bda485bfb20f3183dcbeaa1f2ae2f4e8906043fcb45054964f843b99acb67afd0a8070098887df9be0a672e7784b2494ebc4c41e40 SHA512 5c28a7450e2d8490de19d8a4475406addcc7134ec2a379883c2b705fd7c9f53061eff3814526ed3967ebb5a9089e9a76a2a76b59288eadf7daf36fc1b216e062

View File

@ -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
}