gentoo/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild
Alexey Sokolov b5622c855c
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@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@gentoo.org>
2026-03-04 01:53:26 +00:00

28 lines
674 B
Bash

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