Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/jsoncpp: jsoncpp-0.6.0_rc2.ebuild ChangeLog
Date: Fri, 28 Feb 2014 00:17:27
Message-Id: 20140228001719.773D72004C@flycatcher.gentoo.org
1 vapier 14/02/28 00:17:19
2
3 Modified: ChangeLog
4 Added: jsoncpp-0.6.0_rc2.ebuild
5 Log:
6 Version bump #499612 by Zoltan Kovacs.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.10 dev-libs/jsoncpp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 17 Nov 2013 23:42:25 -0000 1.9
24 +++ ChangeLog 28 Feb 2014 00:17:19 -0000 1.10
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/jsoncpp
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/ChangeLog,v 1.9 2013/11/17 23:42:25 phajdan.jr Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/ChangeLog,v 1.10 2014/02/28 00:17:19 vapier Exp $
31 +
32 +*jsoncpp-0.6.0_rc2 (28 Feb 2014)
33 +
34 + 28 Feb 2014; Mike Frysinger <vapier@g.o> +jsoncpp-0.6.0_rc2.ebuild:
35 + Version bump #499612 by Zoltan Kovacs.
36
37 17 Nov 2013; Pawel Hajdan jr <phajdan.jr@g.o> -jsoncpp-0.5.0.ebuild,
38 jsoncpp-0.5.0-r1.ebuild:
39
40
41
42 1.1 dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: jsoncpp-0.6.0_rc2.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/jsoncpp/jsoncpp-0.6.0_rc2.ebuild,v 1.1 2014/02/28 00:17:19 vapier Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python2_7 )
55
56 inherit toolchain-funcs python-any-r1
57
58 MY_P="${PN}-src-${PV/_/-}"
59
60 DESCRIPTION="C++ JSON reader and writer"
61 HOMEPAGE="http://jsoncpp.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
63
64 LICENSE="public-domain"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~x86"
67 IUSE="doc"
68
69 DEPEND="
70 doc? (
71 app-doc/doxygen
72 ${PYTHON_DEPS}
73 )"
74 RDEPEND=""
75
76 S="${WORKDIR}/${MY_P}"
77
78 pkg_setup() {
79 use doc && python-any-r1_pkg_setup
80 }
81
82 cxx_wrapper() {
83 set -- $(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} "$@"
84 echo "$@"
85 "$@"
86 }
87
88 src_compile() {
89 # This is the soname that other distros use.
90 local soname="libjsoncpp.so.0"
91
92 cxx_wrapper src/lib_json/*.cpp -Iinclude -shared -fPIC \
93 -Wl,-soname,${soname} -o libjsoncpp.so.${PV%_*} || die
94 ln -sf libjsoncpp.so.${PV%_*} ${soname} || die
95 ln -sf ${soname} libjsoncpp.so || die
96 }
97
98 src_install() {
99 # Follow Debian, Ubuntu, Arch convention for headers location, bug #452234 .
100 insinto /usr/include/jsoncpp
101 doins -r include/json
102
103 dolib.so libjsoncpp.so*
104
105 if use doc; then
106 ${EPYTHON} doxybuild.py --doxygen=/usr/bin/doxygen || die
107 dohtml dist/doxygen/jsoncpp*/*
108 fi
109 }