Files
gentoo/dev-cpp/valijson/valijson-1.0.6.ebuild
Holger Hoffstätte 36906d88ba dev-cpp/valijson: add 1.0.6
This release offers a way to use boost::regex instead of std::regex,
however this has to be done by the importing client code and by
setting VALIJSON_USE_BOOST_REGEX. This cannot be enabled globally,
so there is no corresponding USE flag.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/42491
Closes: https://github.com/gentoo/gentoo/pull/42491
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-08 07:48:10 +01:00

27 lines
768 B
Bash

# 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
src_install() {
# there is no target for installing headers, so do it manually
doheader -r include/*
}