1 |
commit: 58b64ae193409550db08bc17dc160b3085ce05a9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 06:12:21 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 26 10:55:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58b64ae1 |
7 |
|
8 |
dev-libs/jsoncpp: Bump to 1.9.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/jsoncpp/Manifest | 1 + |
13 |
dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild | 45 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest |
17 |
index 791c5258436..b73bf186ae7 100644 |
18 |
--- a/dev-libs/jsoncpp/Manifest |
19 |
+++ b/dev-libs/jsoncpp/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jsoncpp-1.9.3.tar.gz 212922 BLAKE2B 6f89762e899ffe127705a30c1fe86f458d62fa05b8dbde6c465c73b6855d3945f3d739ff0c26e1a6326a211c946277908684ace9363df72ba0f460f66b3e3fd8 SHA512 f1c035d54ed952d8d4e41acab5c3ecf6aa445f348f98aeac2e7c89555ec2f6421d727b3bc4c2f54176afce137c545b20d886562901953ec091f91890e91e8559 |
22 |
+DIST jsoncpp-1.9.4.tar.gz 214057 BLAKE2B 9a8c52e5d0b78f1593c93bc40f48d3789b031ba0da519c99cce17f1f6e104b24e0ffe88138c25da6dfa250586aeb9e98d00fbf74d9fb9309b29a6d4f17762263 SHA512 adfd4afbdf6b79bd37edcf0e248f07864994f1c4bcb7431f3b44102490ce467f72381908066655fa486dec12f467af0a11f42f859bbf719895974c7339db7d22 |
23 |
|
24 |
diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..1d7f0a221b2 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/jsoncpp/jsoncpp-1.9.4.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{6..9} ) |
36 |
+ |
37 |
+inherit meson python-any-r1 |
38 |
+ |
39 |
+DESCRIPTION="C++ JSON reader and writer" |
40 |
+HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" |
41 |
+SRC_URI=" |
42 |
+ https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz |
43 |
+ -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="|| ( public-domain MIT )" |
46 |
+SLOT="0/24" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
48 |
+IUSE="doc test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ ${PYTHON_DEPS} |
53 |
+ doc? ( app-doc/doxygen )" |
54 |
+RDEPEND="" |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local emesonargs=( |
58 |
+ # Follow Debian, Ubuntu, Arch convention for headers location |
59 |
+ # bug #452234 |
60 |
+ --includedir include/jsoncpp |
61 |
+ -Dtests=$(usex test true false) |
62 |
+ ) |
63 |
+ meson_src_configure |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ meson_src_compile |
68 |
+ |
69 |
+ if use doc; then |
70 |
+ echo "${PV}" > version || die |
71 |
+ "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die |
72 |
+ HTML_DOCS=( dist/doxygen/jsoncpp*/. ) |
73 |
+ fi |
74 |
+} |