From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/jsoncpp: jsoncpp-0.10.2.ebuild ChangeLog |
Date: | Fri, 01 May 2015 14:50:54 |
Message-Id: | 20150501145047.80A3D9AC@oystercatcher.gentoo.org |
1 | mgorny 15/05/01 14:50:46 |
2 | |
3 | Modified: ChangeLog |
4 | Added: jsoncpp-0.10.2.ebuild |
5 | Log: |
6 | Version bump. Fixes handling of embedded NUL bytes. |
7 | |
8 | (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 | |
10 | Revision Changes Path |
11 | 1.16 dev-libs/jsoncpp/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/ChangeLog?rev=1.16&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/ChangeLog?rev=1.16&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/ChangeLog?r1=1.15&r2=1.16 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/ChangeLog,v |
20 | retrieving revision 1.15 |
21 | retrieving revision 1.16 |
22 | diff -u -r1.15 -r1.16 |
23 | --- ChangeLog 13 Apr 2015 19:22:49 -0000 1.15 |
24 | +++ ChangeLog 1 May 2015 14:50:46 -0000 1.16 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/jsoncpp |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/ChangeLog,v 1.15 2015/04/13 19:22:49 vapier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/ChangeLog,v 1.16 2015/05/01 14:50:46 mgorny Exp $ |
30 | + |
31 | +*jsoncpp-0.10.2 (01 May 2015) |
32 | + |
33 | + 01 May 2015; Michał Górny <mgorny@g.o> +jsoncpp-0.10.2.ebuild: |
34 | + Version bump. Fixes handling of embedded NUL bytes. |
35 | |
36 | 13 Apr 2015; Mike Frysinger <vapier@g.o> jsoncpp-0.10.1.ebuild: |
37 | Add mips love. |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/jsoncpp/jsoncpp-0.10.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.10.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.10.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: jsoncpp-0.10.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2015 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.10.2.ebuild,v 1.1 2015/05/01 14:50:46 mgorny Exp $ |
51 | |
52 | EAPI=5 |
53 | PYTHON_COMPAT=( python2_7 ) |
54 | |
55 | inherit cmake-utils python-any-r1 |
56 | |
57 | DESCRIPTION="C++ JSON reader and writer" |
58 | HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" |
59 | SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
60 | |
61 | LICENSE="|| ( public-domain MIT )" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~x86" |
64 | IUSE="doc test" |
65 | |
66 | DEPEND=" |
67 | doc? ( |
68 | app-doc/doxygen |
69 | ${PYTHON_DEPS} |
70 | ) |
71 | test? ( |
72 | ${PYTHON_DEPS} |
73 | )" |
74 | RDEPEND="" |
75 | |
76 | pkg_setup() { |
77 | if use doc || use test; then |
78 | python-any-r1_pkg_setup |
79 | fi |
80 | } |
81 | |
82 | src_configure() { |
83 | local mycmakeargs=( |
84 | -DJSONCPP_WITH_TESTS=$(usex test) |
85 | -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF |
86 | -DJSONCPP_WITH_CMAKE_PACKAGE=ON |
87 | |
88 | -DBUILD_SHARED_LIBS=ON |
89 | # Follow Debian, Ubuntu, Arch convention for headers location |
90 | # bug #452234 |
91 | -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/include/jsoncpp |
92 | ) |
93 | |
94 | cmake-utils_src_configure |
95 | } |
96 | |
97 | src_compile() { |
98 | cmake-utils_src_compile |
99 | |
100 | if use doc; then |
101 | "${EPYTHON}" doxybuild.py --doxygen=/usr/bin/doxygen || die |
102 | fi |
103 | } |
104 | |
105 | src_test() { |
106 | emake -C "${BUILD_DIR}" jsoncpp_check |
107 | } |
108 | |
109 | src_install() { |
110 | cmake-utils_src_install |
111 | |
112 | if use doc; then |
113 | dohtml dist/doxygen/jsoncpp*/* |
114 | fi |
115 | } |