1 |
commit: 95aff96d4aada8c2905f0ce7e3d4d12589cfa638 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 28 18:17:12 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 18:20:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95aff96d |
7 |
|
8 |
dev-cpp/libjson-rpc-cpp: Add USE flags for Redis in -9999 |
9 |
|
10 |
dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild | 6 +++++- |
11 |
dev-cpp/libjson-rpc-cpp/metadata.xml | 2 ++ |
12 |
2 files changed, 7 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
15 |
index db9f427e587..7c78e3d2afc 100644 |
16 |
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
17 |
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
18 |
@@ -14,12 +14,14 @@ SRC_URI="" |
19 |
LICENSE="MIT" |
20 |
SLOT="0/1" |
21 |
KEYWORDS="" |
22 |
-IUSE="doc +http-client +http-server +stubgen test" |
23 |
+IUSE="doc +http-client +http-server redis-client redis-server +stubgen test" |
24 |
|
25 |
RDEPEND=" |
26 |
dev-libs/jsoncpp:= |
27 |
http-client? ( net-misc/curl:= ) |
28 |
http-server? ( net-libs/libmicrohttpd:= ) |
29 |
+ redis-client? ( dev-libs/hiredis:= ) |
30 |
+ redis-server? ( dev-libs/hiredis:= ) |
31 |
stubgen? ( dev-libs/argtable:= )" |
32 |
DEPEND="${RDEPEND} |
33 |
doc? ( app-doc/doxygen ) |
34 |
@@ -31,6 +33,8 @@ src_configure() { |
35 |
local mycmakeargs=( |
36 |
-DHTTP_CLIENT=$(usex http-client) |
37 |
-DHTTP_SERVER=$(usex http-server) |
38 |
+ -DREDIS_CLIENT=$(usex redis-client) |
39 |
+ -DREDIS_SERVER=$(usex redis-server) |
40 |
# they are not installed |
41 |
-DCOMPILE_EXAMPLES=OFF |
42 |
-DCOMPILE_STUBGEN=$(usex stubgen) |
43 |
|
44 |
diff --git a/dev-cpp/libjson-rpc-cpp/metadata.xml b/dev-cpp/libjson-rpc-cpp/metadata.xml |
45 |
index 69fdda5ec8e..b7a3bb5af8a 100644 |
46 |
--- a/dev-cpp/libjson-rpc-cpp/metadata.xml |
47 |
+++ b/dev-cpp/libjson-rpc-cpp/metadata.xml |
48 |
@@ -8,6 +8,8 @@ |
49 |
<use> |
50 |
<flag name="http-client">Build support for HTTP client using <pkg>net-misc/curl</pkg></flag> |
51 |
<flag name="http-server">Build support for HTTP server using <pkg>net-libs/libmicrohttpd</pkg></flag> |
52 |
+ <flag name="redis-client">Build support for Redis client using <pkg>dev-libs/hiredis</pkg></flag> |
53 |
+ <flag name="redis-server">Build support for Redis server using <pkg>dev-libs/hiredis</pkg></flag> |
54 |
<flag name="stubgen">Build header stub code generator (needed for development and when pregenerated headers are not bundled)</flag> |
55 |
</use> |
56 |
<upstream> |