public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/
Date: Tue, 24 May 2016 11:23:15 +0000 (UTC)	[thread overview]
Message-ID: <1464088988.ab37ed1117d5e094f117c5a1d8e013bacd219488.mgorny@gentoo> (raw)

commit:     ab37ed1117d5e094f117c5a1d8e013bacd219488
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 11:22:40 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 24 11:23:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab37ed11

dev-cpp/libjson-rpc-cpp: Bump to 0.6.0

 dev-cpp/libjson-rpc-cpp/Manifest                   |  1 +
 .../libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild   | 59 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-cpp/libjson-rpc-cpp/Manifest b/dev-cpp/libjson-rpc-cpp/Manifest
index 4a27c09..3cbe67a 100644
--- a/dev-cpp/libjson-rpc-cpp/Manifest
+++ b/dev-cpp/libjson-rpc-cpp/Manifest
@@ -1 +1,2 @@
 DIST libjson-rpc-cpp-0.5.0.tar.gz 124494 SHA256 e6d8d6c20517bb38eba9dba7f372e0a95432c4cbf55ec9b136ba841faa0a6d99 SHA512 9929f76899186f62d3201d3c884a4557e3bd55acfe0533b9a0cf543e01e6d2e5972239df7425c1a43bd59fd205261b91796fdaa1ab54b55cb5765250e473d2d4 WHIRLPOOL 95b51bdfd86e63e84556c490281829d211d937cb30a503b863180cac4a2a0894eb03ed931511e9336903f1ddad6b899921e1e09663af9cc0e5739569ddc14472
+DIST libjson-rpc-cpp-0.6.0.tar.gz 130091 SHA256 98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b SHA512 8ad4e30b9ff8b53bde1671067ef6108d0a26a40d3925b2002c2aad9d66a17a51b1ea23b7ce278bcb56a992ff4c9a4616494d62dfe992c7db38341b449e88c777 WHIRLPOOL 0d6b75a29f84386086f070bb1a40e45d02f19dee567c9bd492d61aff84b470aed4d0b83879cfddb13e5109ad5d57a055f9b23b66016eb4319ed7dacd89da8474

diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild
new file mode 100644
index 0000000..69e35db
--- /dev/null
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-0.6.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++"
+HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp"
+SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +http-client +http-server +stubgen test"
+
+RDEPEND="
+	dev-libs/jsoncpp:=
+	http-client? ( net-misc/curl:= )
+	http-server? ( net-libs/libmicrohttpd:= )
+	stubgen? ( dev-libs/argtable:= )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen )
+	test? ( dev-cpp/catch )"
+
+src_prepare() {
+	default
+
+	# https://github.com/cinemast/libjson-rpc-cpp/pull/161
+	sed -i -e '/DESTINATION/s:lib:lib${LIB_SUFFIX}:' \
+		src/jsonrpccpp/CMakeLists.txt || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DHTTP_CLIENT=$(usex http-client)
+		-DHTTP_SERVER=$(usex http-server)
+		# they are not installed but required for tests to build
+		-DCOMPILE_EXAMPLES=$(usex test)
+		-DCOMPILE_STUBGEN=$(usex stubgen)
+		-DCOMPILE_TESTS=$(usex test)
+		-DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
+	)
+
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+
+	use doc && emake -C "${BUILD_DIR}" doc
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	use doc && dodoc -r "${BUILD_DIR}"/doc/html
+}


             reply	other threads:[~2016-05-24 11:23 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 11:23 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-12-12 17:58 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/libjson-rpc-cpp/ Michał Górny
2022-12-12 17:58 Michał Górny
2022-02-26 23:26 Sam James
2021-10-24  8:54 Michał Górny
2021-10-23 20:20 Michał Górny
2020-03-19 17:20 Michał Górny
2020-01-15  7:20 Michał Górny
2020-01-15  7:20 Michał Górny
2019-04-10 15:07 Michał Górny
2019-03-29  9:18 Michał Górny
2019-03-10  8:08 Michał Górny
2019-01-19 14:21 David Seifert
2018-11-03 21:58 Michał Górny
2018-11-01  8:48 Michał Górny
2018-11-01  8:48 Michał Górny
2018-03-26 16:14 Michał Górny
2018-01-06 12:24 Michał Górny
2018-01-05  9:36 Michał Górny
2017-08-28 18:23 Michał Górny
2017-08-28 18:23 Michał Górny
2017-08-27  8:19 Michał Górny
2017-08-27  8:19 Michał Górny
2016-08-13 18:32 Michał Górny
2016-08-13 18:32 Michał Górny
2016-07-02 21:19 Michał Górny
2016-05-24 11:23 Michał Górny
2016-04-19 13:12 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464088988.ab37ed1117d5e094f117c5a1d8e013bacd219488.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox