commit: c91390d2662b1324a5b132e8b3d1a9d76b4d0075 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Jan 6 12:21:48 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jan 6 12:23:57 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c91390d2
dev-cpp/libjson-rpc-cpp: Enable UNIX & TCP socket client/server Closes: https://bugs.gentoo.org/643676 ...pc-cpp-9999.ebuild => libjson-rpc-cpp-1.1.0-r1.ebuild} | 15 +++++++++------ dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild | 7 ++++++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild similarity index 80% copy from dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild copy to dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild index 7c78e3d2afc..73b204623f7 100644 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild +++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild @@ -1,19 +1,17 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -EGIT_REPO_URI="https://github.com/cinemast/${PN}.git" -EGIT_BRANCH=develop -inherit cmake-utils git-r3 +inherit cmake-utils DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" -SRC_URI="" +SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0/1" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" IUSE="doc +http-client +http-server redis-client redis-server +stubgen test" RDEPEND=" @@ -35,6 +33,11 @@ src_configure() { -DHTTP_SERVER=$(usex http-server) -DREDIS_CLIENT=$(usex redis-client) -DREDIS_SERVER=$(usex redis-server) + # they have no deps + -DTCP_SOCKET_CLIENT=ON + -DTCP_SOCKET_SERVER=ON + -DUNIX_DOMAIN_SOCKET_CLIENT=ON + -DUNIX_DOMAIN_SOCKET_SERVER=ON # they are not installed -DCOMPILE_EXAMPLES=OFF -DCOMPILE_STUBGEN=$(usex stubgen) diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild index 7c78e3d2afc..55ab0c1f82f 100644 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild +++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -35,6 +35,11 @@ src_configure() { -DHTTP_SERVER=$(usex http-server) -DREDIS_CLIENT=$(usex redis-client) -DREDIS_SERVER=$(usex redis-server) + # they have no deps + -DTCP_SOCKET_CLIENT=ON + -DTCP_SOCKET_SERVER=ON + -DUNIX_DOMAIN_SOCKET_CLIENT=ON + -DUNIX_DOMAIN_SOCKET_SERVER=ON # they are not installed -DCOMPILE_EXAMPLES=OFF -DCOMPILE_STUBGEN=$(usex stubgen)