diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-08-31 16:14:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-08-31 17:05:05 +0200 |
commit | a39dd4a38393b5899708fef11bc567486dcb993f (patch) | |
tree | 83785dff63741be1ea84363a3a903110890001f5 /dev-libs/jsoncpp | |
parent | dev-cpp/catch: Bump to 2.0.0-develop.3 (diff) | |
download | gentoo-a39dd4a38393b5899708fef11bc567486dcb993f.tar.gz gentoo-a39dd4a38393b5899708fef11bc567486dcb993f.tar.bz2 gentoo-a39dd4a38393b5899708fef11bc567486dcb993f.zip |
dev-libs/jsoncpp: Bump to 1.8.3
Diffstat (limited to 'dev-libs/jsoncpp')
-rw-r--r-- | dev-libs/jsoncpp/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest index 35c894df0ecf..786664888b53 100644 --- a/dev-libs/jsoncpp/Manifest +++ b/dev-libs/jsoncpp/Manifest @@ -1,3 +1,4 @@ DIST jsoncpp-0.10.2.tar.gz 197188 SHA256 37bb72615018522bb78a5eb425b36dfc79e049c1d5471b724f7ccadeac0ed479 SHA512 8e451e3ba37094445ab098d5b9f7236ac84e2f15d98e2039c565e609b757c2383e91850bd86aca507ca5cd2f733fedc484bb7760eeeee7fe9bace71d97ae0d2e WHIRLPOOL 85f9861e77a7c3cecd5e859adde832b7f12a0c5eae04ecbee203e5d8c4b8b13ba034b4aa6b78a3b981aa392a4ea6a26c2e1d411ae97768d7ed422f71ec2e5d79 DIST jsoncpp-0.10.6.tar.gz 200213 SHA256 7c285fc40ad0c113e436a1271c4e38b5017b5c7782c306e90be9d6b2ffa90212 SHA512 9fcf584d14c31fc135c9789b36c02c5985daecc7396eb21912d5ea3e757d1fd0d516d7a060e14b4955c73f6b4aa256529281da908726919236fa65310de9f1aa WHIRLPOOL f06b804045250b205f8ca1ed6fd5504cb5e18243df16c9c255310a631d6d88f78bfd8c59e31360c1e50ccabcf5b295a095a80cdbb4e0ca5a0da54a64ff8e7919 DIST jsoncpp-1.8.1.tar.gz 210629 SHA256 858db2faf348f89fdf1062bd3e79256772e897e7f17df73e0624edf004f2f9ac SHA512 4203826fca4c366b51d28ffc928399c914ffaba8be1cada64ff118b5742e6b469d3fc3e59344587d851447857b479794c5697d4fd11a9a55b32a3a7a801b745b WHIRLPOOL fad9803f2fdc4aba2efc235b1e6a4edab3ca19b6f0ca6a275170afb477adfdad1b1bace48dfc2424d78b6f7a2ff080987298119b1797559159197a7c268a89bb +DIST jsoncpp-1.8.3.tar.gz 199061 SHA256 3671ba6051e0f30849942cc66d1798fdf0362d089343a83f704c09ee7156604f SHA512 a5170ccbc440c1bd2b365e34f7367a55731d4fa86b2d323d11431cead771127364bad9d8e2e59dcbe41bc111d11a5da94988dec5e40b9119f793f43e487d7429 WHIRLPOOL f32ce61c15a1bd03c1f5ce73305462374841fd30b99a683c82fe3babc93ddbd57e0cd5f5f5ca5ce7824a05a25c418ebf82f9058617cb2210795ad4b2c57b0c36 diff --git a/dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild b/dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild new file mode 100644 index 000000000000..96aefaacbe70 --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-1.8.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" +SRC_URI="https://github.com/open-source-parsers/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( public-domain MIT )" +SLOT="0/19" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc test" + +DEPEND=" + doc? ( + app-doc/doxygen + ${PYTHON_DEPS} + ) + test? ( + ${PYTHON_DEPS} + )" +RDEPEND="" + +RESTRICT="!test? ( test )" + +pkg_setup() { + if use doc || use test; then + python-any-r1_pkg_setup + fi +} + +src_configure() { + local mycmakeargs=( + -DJSONCPP_WITH_TESTS=$(usex test) + -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF + -DJSONCPP_WITH_CMAKE_PACKAGE=ON + + -DBUILD_SHARED_LIBS=ON + -DBUILD_STATIC_LIBS=OFF + + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + -DCMAKE_INSTALL_INCLUDEDIR=include/jsoncpp + + # Disable implicit ccache use + -DCCACHE_FOUND=OFF + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc; then + "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die + HTML_DOCS=( dist/doxygen/jsoncpp*/. ) + fi +} + +src_test() { + cmake-utils_src_make jsoncpp_check +} |