1 |
commit: 8d3e54d82cf53ab67e01f3d980efc73d23d69589 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 20:35:46 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 20:40:22 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3e54d8 |
7 |
|
8 |
dev-libs/jsoncpp: Bump to 1.6.5 |
9 |
|
10 |
Package-Manager: portage-2.2.20 |
11 |
|
12 |
dev-libs/jsoncpp/Manifest | 1 + |
13 |
dev-libs/jsoncpp/jsoncpp-1.6.5.ebuild | 68 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest |
17 |
index 82f32f6..ae89c33 100644 |
18 |
--- a/dev-libs/jsoncpp/Manifest |
19 |
+++ b/dev-libs/jsoncpp/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST jsoncpp-0.10.2.tar.gz 197188 SHA256 37bb72615018522bb78a5eb425b36dfc79e049c1d5471b724f7ccadeac0ed479 SHA512 8e451e3ba37094445ab098d5b9f7236ac84e2f15d98e2039c565e609b757c2383e91850bd86aca507ca5cd2f733fedc484bb7760eeeee7fe9bace71d97ae0d2e WHIRLPOOL 85f9861e77a7c3cecd5e859adde832b7f12a0c5eae04ecbee203e5d8c4b8b13ba034b4aa6b78a3b981aa392a4ea6a26c2e1d411ae97768d7ed422f71ec2e5d79 |
22 |
DIST jsoncpp-1.6.2.tar.gz 198824 SHA256 c40e5a2583df633b904525305bda40b622d9971fee1ece7ce48ca723a4907d36 SHA512 b70dc99ec57357943f7b56d013abc6245c1ffdc3c16313bcf72ba624fa5f6d72eebfda0188a229c7757e00e3ad2c19d67048acd33c22260079e37b32000a39a7 WHIRLPOOL 35f337812bda3cb24a9b221578c72d48876427e2fe10c1c57beea308b855c6d48d688d73260bd7915261676bd4463062191948d630bfac53350a855d89a8d7fe |
23 |
+DIST jsoncpp-1.6.5.tar.gz 200507 SHA256 a2b121eaff56ec88cfd034d17685821a908d0d87bc319329b04f91a6552c1ac2 SHA512 589153d525ffde15e10f1ef6907c6b5d0f62a41c8cebdc12fe2bc4d989bcd861cdac79526de2f51872c0a17e574bf0fd8c913f0aa301c184efa1e3f2fb2b1955 WHIRLPOOL a1253362a0bdd8a6d05e84fb7d7de5b79aec0cadf5a03a8c2be8a6e8062e6ae231e5b97cd99ee9607c2c546afa58dabb183167c6a74b409d32485b45c7d3e9ae |
24 |
DIST jsoncpp-src-0.5.0.tar.gz 107466 SHA256 22b14ecd0de8cdad2b6b6839f6d0804d3b84e91f42861ebd843832a26a927433 SHA512 2815d3523f92c33a5be3221161a590a0fddd16cb22e5dc634791535ee44271ec4fbb64f81cc958a87b1f029a8108ed9f169cda5a2d0422f60699ac286386a1bc WHIRLPOOL f6174f08dc647a189fc17f93343a72fb83bea66f27e60707b6bf300a185d4d3e8d5f347dd6f0d06462e45086c7c1dbd352e22ac08fef13d9235a65bad44f0d67 |
25 |
|
26 |
diff --git a/dev-libs/jsoncpp/jsoncpp-1.6.5.ebuild b/dev-libs/jsoncpp/jsoncpp-1.6.5.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..3dbd839 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/jsoncpp/jsoncpp-1.6.5.ebuild |
31 |
@@ -0,0 +1,68 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+PYTHON_COMPAT=( python2_7 ) |
38 |
+ |
39 |
+inherit cmake-utils python-any-r1 |
40 |
+ |
41 |
+DESCRIPTION="C++ JSON reader and writer" |
42 |
+HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" |
43 |
+SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="|| ( public-domain MIT )" |
46 |
+SLOT="0/1" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ doc? ( |
52 |
+ app-doc/doxygen |
53 |
+ ${PYTHON_DEPS} |
54 |
+ ) |
55 |
+ test? ( |
56 |
+ ${PYTHON_DEPS} |
57 |
+ )" |
58 |
+RDEPEND="" |
59 |
+ |
60 |
+pkg_setup() { |
61 |
+ if use doc || use test; then |
62 |
+ python-any-r1_pkg_setup |
63 |
+ fi |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ local mycmakeargs=( |
68 |
+ -DJSONCPP_WITH_TESTS=$(usex test) |
69 |
+ -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF |
70 |
+ -DJSONCPP_WITH_CMAKE_PACKAGE=ON |
71 |
+ |
72 |
+ -DBUILD_SHARED_LIBS=ON |
73 |
+ # Follow Debian, Ubuntu, Arch convention for headers location |
74 |
+ # bug #452234 |
75 |
+ -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp |
76 |
+ ) |
77 |
+ |
78 |
+ cmake-utils_src_configure |
79 |
+} |
80 |
+ |
81 |
+src_compile() { |
82 |
+ cmake-utils_src_compile |
83 |
+ |
84 |
+ if use doc; then |
85 |
+ "${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die |
86 |
+ fi |
87 |
+} |
88 |
+ |
89 |
+src_test() { |
90 |
+ emake -C "${BUILD_DIR}" jsoncpp_check |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ cmake-utils_src_install |
95 |
+ |
96 |
+ if use doc; then |
97 |
+ dohtml dist/doxygen/jsoncpp*/* |
98 |
+ fi |
99 |
+} |