mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
dev-cpp/libjson-rpc-cpp: Add USE flags for Redis in -9999
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user