diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-08-28 20:17:12 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-08-28 20:20:19 +0200 |
commit | 95aff96d4aada8c2905f0ce7e3d4d12589cfa638 (patch) | |
tree | 320cb56065fe19f2359408cef65a570f89fbbff5 /dev-cpp/libjson-rpc-cpp | |
parent | dev-cpp/libjson-rpc-cpp: Bump subslot on -9999 to match SONAME (diff) | |
download | gentoo-95aff96d4aada8c2905f0ce7e3d4d12589cfa638.tar.gz gentoo-95aff96d4aada8c2905f0ce7e3d4d12589cfa638.tar.bz2 gentoo-95aff96d4aada8c2905f0ce7e3d4d12589cfa638.zip |
dev-cpp/libjson-rpc-cpp: Add USE flags for Redis in -9999
Diffstat (limited to 'dev-cpp/libjson-rpc-cpp')
-rw-r--r-- | dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild | 6 | ||||
-rw-r--r-- | dev-cpp/libjson-rpc-cpp/metadata.xml | 2 |
2 files changed, 7 insertions, 1 deletions
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 db9f427e5876..7c78e3d2afc4 100644 --- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild +++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild @@ -14,12 +14,14 @@ SRC_URI="" LICENSE="MIT" SLOT="0/1" KEYWORDS="" -IUSE="doc +http-client +http-server +stubgen test" +IUSE="doc +http-client +http-server redis-client redis-server +stubgen test" RDEPEND=" dev-libs/jsoncpp:= http-client? ( net-misc/curl:= ) http-server? ( net-libs/libmicrohttpd:= ) + redis-client? ( dev-libs/hiredis:= ) + redis-server? ( dev-libs/hiredis:= ) stubgen? ( dev-libs/argtable:= )" DEPEND="${RDEPEND} doc? ( app-doc/doxygen ) @@ -31,6 +33,8 @@ src_configure() { local mycmakeargs=( -DHTTP_CLIENT=$(usex http-client) -DHTTP_SERVER=$(usex http-server) + -DREDIS_CLIENT=$(usex redis-client) + -DREDIS_SERVER=$(usex redis-server) # they are not installed -DCOMPILE_EXAMPLES=OFF -DCOMPILE_STUBGEN=$(usex stubgen) diff --git a/dev-cpp/libjson-rpc-cpp/metadata.xml b/dev-cpp/libjson-rpc-cpp/metadata.xml index 69fdda5ec8e2..b7a3bb5af8af 100644 --- a/dev-cpp/libjson-rpc-cpp/metadata.xml +++ b/dev-cpp/libjson-rpc-cpp/metadata.xml @@ -8,6 +8,8 @@ <use> <flag name="http-client">Build support for HTTP client using <pkg>net-misc/curl</pkg></flag> <flag name="http-server">Build support for HTTP server using <pkg>net-libs/libmicrohttpd</pkg></flag> + <flag name="redis-client">Build support for Redis client using <pkg>dev-libs/hiredis</pkg></flag> + <flag name="redis-server">Build support for Redis server using <pkg>dev-libs/hiredis</pkg></flag> <flag name="stubgen">Build header stub code generator (needed for development and when pregenerated headers are not bundled)</flag> </use> <upstream> |