Diff rapidjson-1.1.0-r3 with a rapidjson-1.1.0-r4
/usr/portage/dev-libs/rapidjson/rapidjson-1.1.0-r4.ebuild 2023-10-09 14:52:29.756368357 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit cmake |
7 | 7 | |
8 | 8 |
DESCRIPTION="A fast JSON parser/generator for C++ with both SAX/DOM style API" |
9 | 9 |
HOMEPAGE="https://rapidjson.org/" |
10 | 10 | |
11 |
LICENSE="MIT" |
|
12 |
IUSE="doc examples test" |
|
13 |
RESTRICT="!test? ( test )" |
|
14 |
SLOT="0" |
|
15 | ||
16 | 11 |
if [[ ${PV} == *9999 ]] ; then |
17 | 12 |
EGIT_REPO_URI="https://github.com/miloyip/rapidjson.git" |
13 |
EGIT_SUBMODULES=() |
|
18 | 14 |
inherit git-r3 |
19 | 15 |
else |
20 | 16 |
SRC_URI="https://github.com/miloyip/rapidjson/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
21 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" |
|
17 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
22 | 18 |
S="${WORKDIR}/rapidjson-${PV}" |
23 | 19 |
fi |
24 | 20 | |
25 |
DEPEND=" |
|
21 |
LICENSE="MIT" |
|
22 |
SLOT="0" |
|
23 |
IUSE="doc examples test" |
|
24 |
RESTRICT="!test? ( test )" |
|
25 | ||
26 |
BDEPEND=" |
|
26 | 27 |
doc? ( app-doc/doxygen ) |
27 |
test? ( dev-cpp/gtest )" |
|
28 |
RDEPEND="" |
|
28 |
test? ( dev-cpp/gtest ) |
|
29 |
" |
|
29 | 30 | |
30 | 31 |
PATCHES=( |
31 | 32 |
"${FILESDIR}/${P}-gcc-7.patch" |
32 | 33 |
"${FILESDIR}/${P}-system_gtest.patch" |
33 | 34 |
"${FILESDIR}/${P}-valgrind_optional.patch" |
35 |
"${FILESDIR}/${P}-gcc14-const.patch" |
|
34 | 36 |
) |
35 | 37 | |
36 | 38 |
src_prepare() { |