diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-06-27 20:43:04 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-06-27 20:43:36 +0200 |
commit | 70a03701823dbee6efc39ae08994a9bfe05067ec (patch) | |
tree | 024e9be4fb953e3c8454b52434e34a73512e32bd /dev-libs | |
parent | dev-libs/qtkeychain: Remove 0.5.0 (diff) | |
download | gentoo-70a03701823dbee6efc39ae08994a9bfe05067ec.tar.gz gentoo-70a03701823dbee6efc39ae08994a9bfe05067ec.tar.bz2 gentoo-70a03701823dbee6efc39ae08994a9bfe05067ec.zip |
dev-libs/jsoncpp: Bump to 1.7.3
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/jsoncpp/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest index 17d417dd076c..f19c84583379 100644 --- a/dev-libs/jsoncpp/Manifest +++ b/dev-libs/jsoncpp/Manifest @@ -2,3 +2,4 @@ DIST jsoncpp-0.10.2.tar.gz 197188 SHA256 37bb72615018522bb78a5eb425b36dfc79e049c DIST jsoncpp-0.10.6.tar.gz 200213 SHA256 7c285fc40ad0c113e436a1271c4e38b5017b5c7782c306e90be9d6b2ffa90212 SHA512 9fcf584d14c31fc135c9789b36c02c5985daecc7396eb21912d5ea3e757d1fd0d516d7a060e14b4955c73f6b4aa256529281da908726919236fa65310de9f1aa WHIRLPOOL f06b804045250b205f8ca1ed6fd5504cb5e18243df16c9c255310a631d6d88f78bfd8c59e31360c1e50ccabcf5b295a095a80cdbb4e0ca5a0da54a64ff8e7919 DIST jsoncpp-1.6.5.tar.gz 200507 SHA256 a2b121eaff56ec88cfd034d17685821a908d0d87bc319329b04f91a6552c1ac2 SHA512 589153d525ffde15e10f1ef6907c6b5d0f62a41c8cebdc12fe2bc4d989bcd861cdac79526de2f51872c0a17e574bf0fd8c913f0aa301c184efa1e3f2fb2b1955 WHIRLPOOL a1253362a0bdd8a6d05e84fb7d7de5b79aec0cadf5a03a8c2be8a6e8062e6ae231e5b97cd99ee9607c2c546afa58dabb183167c6a74b409d32485b45c7d3e9ae DIST jsoncpp-1.7.2.tar.gz 205391 SHA256 2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557 SHA512 32702147229ea7a3679654325572c38f4188f258ab6ac21f9e04059d53ef2a7cd0542ec4ec3b0e7b9089acd2b7bce389f16b9ff24b2e63e0ba2a5bcd46bab766 WHIRLPOOL a4c71f4c8cd6468f8326120bd106b50c563ab1b7a10df4874d96dd2c03f115645f1016c4e2e52f8056f58f7a40bd6bfc2a75e6aca896bdf98652b1052fde1fd8 +DIST jsoncpp-1.7.3.tar.gz 205738 SHA256 1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53 SHA512 991af517449432082a4bfc77de7e23cc693c976709bc40053c043209baa09919532fc4c46e3e32dea504c2fcb58ad6b6bc9b2d202f947c736c4498debc45235a WHIRLPOOL 707588d1f1aaf7de943fa81ac5cbe3d1389ac4623c51c4151aa591effdf41ed34c3c824b3e350482fc3358ad0665e5f34d1b4bd0f1cce747692e572d6c784142 diff --git a/dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild b/dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild new file mode 100644 index 000000000000..a82892a0e628 --- /dev/null +++ b/dev-libs/jsoncpp/jsoncpp-1.7.3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/1" +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="" + +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 + -DINCLUDE_INSTALL_DIR="${EPREFIX}"/usr/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=/usr/bin/doxygen || die + fi +} + +src_test() { + emake -C "${BUILD_DIR}" jsoncpp_check +} + +src_install() { + cmake-utils_src_install + + if use doc; then + docinto html + dodoc -r dist/doxygen/jsoncpp*/. + fi +} |