From d96426e82795d5a87d3565e50d9d4d930bbb1cd1 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Thu, 7 Aug 2025 16:02:31 +0200 Subject: [PATCH] dev-cpp/valijson: Use default install target Valijson now has a valid install target for the headers. In addition to this, it also has an install target for the valijsonConfig.cmake file that some projects have started using. Signed-off-by: Sebastian Parborg Part-of: https://github.com/gentoo/gentoo/pull/43370 Closes: https://github.com/gentoo/gentoo/pull/43370 Signed-off-by: Sam James --- dev-cpp/valijson/valijson-1.0.6-r1.ebuild | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-cpp/valijson/valijson-1.0.6-r1.ebuild diff --git a/dev-cpp/valijson/valijson-1.0.6-r1.ebuild b/dev-cpp/valijson/valijson-1.0.6-r1.ebuild new file mode 100644 index 0000000000000..8941b0003d858 --- /dev/null +++ b/dev-cpp/valijson/valijson-1.0.6-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Header-only C++ library for JSON Schema validation" +HOMEPAGE="https://github.com/tristanpenman/valijson" +SRC_URI="https://github.com/tristanpenman/valijson/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2 Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +# Bundled test dependencies are included as submodules, so not in github +# autogenerated tarballs. The dependencies are largely packaged, but +# needs patching to use those. +RESTRICT="test" + +# unused inspector/CMakeLists.txt (bug #957461) +CMAKE_QA_COMPAT_SKIP=1