1 |
commit: c91390d2662b1324a5b132e8b3d1a9d76b4d0075 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 6 12:21:48 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 6 12:23:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c91390d2 |
7 |
|
8 |
dev-cpp/libjson-rpc-cpp: Enable UNIX & TCP socket client/server |
9 |
|
10 |
Closes: https://bugs.gentoo.org/643676 |
11 |
|
12 |
...pc-cpp-9999.ebuild => libjson-rpc-cpp-1.1.0-r1.ebuild} | 15 +++++++++------ |
13 |
dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild | 7 ++++++- |
14 |
2 files changed, 15 insertions(+), 7 deletions(-) |
15 |
|
16 |
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 |
17 |
similarity index 80% |
18 |
copy from dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
19 |
copy to dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild |
20 |
index 7c78e3d2afc..73b204623f7 100644 |
21 |
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
22 |
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-1.1.0-r1.ebuild |
23 |
@@ -1,19 +1,17 @@ |
24 |
-# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Copyright 1999-2018 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=6 |
29 |
|
30 |
-EGIT_REPO_URI="https://github.com/cinemast/${PN}.git" |
31 |
-EGIT_BRANCH=develop |
32 |
-inherit cmake-utils git-r3 |
33 |
+inherit cmake-utils |
34 |
|
35 |
DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++" |
36 |
HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp" |
37 |
-SRC_URI="" |
38 |
+SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
|
40 |
LICENSE="MIT" |
41 |
SLOT="0/1" |
42 |
-KEYWORDS="" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
IUSE="doc +http-client +http-server redis-client redis-server +stubgen test" |
45 |
|
46 |
RDEPEND=" |
47 |
@@ -35,6 +33,11 @@ src_configure() { |
48 |
-DHTTP_SERVER=$(usex http-server) |
49 |
-DREDIS_CLIENT=$(usex redis-client) |
50 |
-DREDIS_SERVER=$(usex redis-server) |
51 |
+ # they have no deps |
52 |
+ -DTCP_SOCKET_CLIENT=ON |
53 |
+ -DTCP_SOCKET_SERVER=ON |
54 |
+ -DUNIX_DOMAIN_SOCKET_CLIENT=ON |
55 |
+ -DUNIX_DOMAIN_SOCKET_SERVER=ON |
56 |
# they are not installed |
57 |
-DCOMPILE_EXAMPLES=OFF |
58 |
-DCOMPILE_STUBGEN=$(usex stubgen) |
59 |
|
60 |
diff --git a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
61 |
index 7c78e3d2afc..55ab0c1f82f 100644 |
62 |
--- a/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
63 |
+++ b/dev-cpp/libjson-rpc-cpp/libjson-rpc-cpp-9999.ebuild |
64 |
@@ -1,4 +1,4 @@ |
65 |
-# Copyright 1999-2017 Gentoo Foundation |
66 |
+# Copyright 1999-2018 Gentoo Foundation |
67 |
# Distributed under the terms of the GNU General Public License v2 |
68 |
|
69 |
EAPI=6 |
70 |
@@ -35,6 +35,11 @@ src_configure() { |
71 |
-DHTTP_SERVER=$(usex http-server) |
72 |
-DREDIS_CLIENT=$(usex redis-client) |
73 |
-DREDIS_SERVER=$(usex redis-server) |
74 |
+ # they have no deps |
75 |
+ -DTCP_SOCKET_CLIENT=ON |
76 |
+ -DTCP_SOCKET_SERVER=ON |
77 |
+ -DUNIX_DOMAIN_SOCKET_CLIENT=ON |
78 |
+ -DUNIX_DOMAIN_SOCKET_SERVER=ON |
79 |
# they are not installed |
80 |
-DCOMPILE_EXAMPLES=OFF |
81 |
-DCOMPILE_STUBGEN=$(usex stubgen) |