1 |
commit: f594ce23eb9b3df1cc94eb382a5b0e9abb9ffc69 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 23:32:52 2020 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 23:33:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f594ce23 |
7 |
|
8 |
net-libs/grpc: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
net-libs/grpc/Manifest | 2 - |
14 |
.../files/grpc-1.21.0-fix-host-ar-handling.patch | 47 --------- |
15 |
...grpc-1.22.0-cxx_arg_list_too_long_forloop.patch | 44 -------- |
16 |
.../grpc/files/grpc-1.25.0-pkgconfig-libdir.patch | 17 --- |
17 |
.../grpc/files/grpc-1.3.0-Don-t-run-ldconfig.patch | 53 ---------- |
18 |
net-libs/grpc/grpc-1.26.0-r1.ebuild | 114 --------------------- |
19 |
net-libs/grpc/metadata.xml | 4 - |
20 |
7 files changed, 281 deletions(-) |
21 |
|
22 |
diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest |
23 |
index 7eae7aec32b..486074e6e56 100644 |
24 |
--- a/net-libs/grpc/Manifest |
25 |
+++ b/net-libs/grpc/Manifest |
26 |
@@ -1,4 +1,2 @@ |
27 |
-DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256 SHA512 c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61 |
28 |
-DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d SHA512 4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb |
29 |
DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f SHA512 5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b |
30 |
DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069 SHA512 90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed |
31 |
|
32 |
diff --git a/net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch b/net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch |
33 |
deleted file mode 100644 |
34 |
index 213a39a3843..00000000000 |
35 |
--- a/net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch |
36 |
+++ /dev/null |
37 |
@@ -1,47 +0,0 @@ |
38 |
-From 913486fddb5c2600f6ff83e549ee25e67579666f Mon Sep 17 00:00:00 2001 |
39 |
-From: Georgy Yakovlev <gyakovlev@g.o> |
40 |
-Date: Wed, 22 May 2019 23:04:28 -0700 |
41 |
-Subject: [PATCH] Makefile: fix host ar handling |
42 |
- |
43 |
-picked lines from |
44 |
-https://github.com/grpc/grpc/pull/11476 |
45 |
---- |
46 |
- Makefile | 236 ++++++++++++++++++++++++++++--------------------------- |
47 |
- 1 file changed, 119 insertions(+), 117 deletions(-) |
48 |
- |
49 |
-diff --git a/Makefile b/Makefile |
50 |
-index 67495f2..e1c741c 100644 |
51 |
---- a/Makefile |
52 |
-+++ b/Makefile |
53 |
-@@ -346,6 +346,7 @@ HOST_CC ?= $(CC) |
54 |
- HOST_CXX ?= $(CXX) |
55 |
- HOST_LD ?= $(LD) |
56 |
- HOST_LDXX ?= $(LDXX) |
57 |
-+HOST_AR ?= $(AR) |
58 |
- |
59 |
- CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI) |
60 |
- CXXFLAGS += -std=c++11 |
61 |
-@@ -483,6 +484,7 @@ HOST_CFLAGS += $(CFLAGS) |
62 |
- HOST_CXXFLAGS += $(CXXFLAGS) |
63 |
- HOST_LDFLAGS += $(LDFLAGS) |
64 |
- HOST_LDLIBS += $(LDLIBS) |
65 |
-+HOST_AROPTS = $(AROPTS) |
66 |
- |
67 |
- # These are automatically computed variables. |
68 |
- # There shouldn't be any need to change anything from now on. |
69 |
- |
70 |
-@@ -7381,11 +7383,11 @@ $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: protobuf_dep_error |
71 |
- |
72 |
- else |
73 |
- |
74 |
--$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(PROTOBUF_DEP) $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
75 |
-- $(E) "[AR] Creating $@" |
76 |
-+$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: $(ZLIB_DEP) $(CARES_DEP) $(ADDRESS_SORTING_DEP) $(PROTOBUF_DEP) $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
77 |
-+ $(E) "[HOSTAR] Creating $@" |
78 |
- $(Q) mkdir -p `dirname $@` |
79 |
- $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
80 |
-- $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
81 |
-+ $(Q) $(HOST_AR) $(HOST_AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS) |
82 |
- ifeq ($(SYSTEM),Darwin) |
83 |
- $(Q) ranlib -no_warning_for_no_symbols $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a |
84 |
- endif |
85 |
|
86 |
diff --git a/net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch b/net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch |
87 |
deleted file mode 100644 |
88 |
index 974d6fcc435..00000000000 |
89 |
--- a/net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch |
90 |
+++ /dev/null |
91 |
@@ -1,44 +0,0 @@ |
92 |
---- a/Makefile 2018-06-26 11:07:45.948160976 +0200 |
93 |
-+++ b/Makefile 2019-06-26 11:04:25.798966336 +0200 |
94 |
-@@ -2820,13 +2820,15 @@ |
95 |
- |
96 |
- install-headers_c: |
97 |
- $(E) "[INSTALL] Installing public C headers" |
98 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1 |
99 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
100 |
-+ $(Q) for h in $(PUBLIC_HEADERS_C); do \ |
101 |
-+ $(INSTALL) -D $$h $(prefix)/$$h ; \ |
102 |
-+ done |
103 |
- |
104 |
- install-headers_cxx: |
105 |
- $(E) "[INSTALL] Installing public C++ headers" |
106 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1 |
107 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
108 |
-+ $(Q) for h in $(PUBLIC_HEADERS_CXX); do \ |
109 |
-+ $(INSTALL) -D $$h $(prefix)/$$h ; \ |
110 |
-+ done |
111 |
- |
112 |
- install-static: install-static_c install-static_cxx |
113 |
- |
114 |
---- a/templates/Makefile.template 2019-06-26 12:38:36.777292299 +0200 |
115 |
-+++ b/templates/Makefile.template 2019-06-26 12:48:35.668550020 +0200 |
116 |
-@@ -1302,13 +1302,15 @@ |
117 |
- |
118 |
- install-headers_c: |
119 |
- $(E) "[INSTALL] Installing public C headers" |
120 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1 |
121 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
122 |
-+ $(Q) for h in $(PUBLIC_HEADERS_C); do \ |
123 |
-+ $(INSTALL) -D $$h $(prefix)/$$h ; \ |
124 |
-+ done |
125 |
- |
126 |
- install-headers_cxx: |
127 |
- $(E) "[INSTALL] Installing public C++ headers" |
128 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1 |
129 |
-- $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1 |
130 |
-+ $(Q) for h in $(PUBLIC_HEADERS_CXX); do \ |
131 |
-+ $(INSTALL) -D $$h $(prefix)/$$h ; \ |
132 |
-+ done |
133 |
- |
134 |
- install-static: install-static_c install-static_cxx |
135 |
- |
136 |
|
137 |
diff --git a/net-libs/grpc/files/grpc-1.25.0-pkgconfig-libdir.patch b/net-libs/grpc/files/grpc-1.25.0-pkgconfig-libdir.patch |
138 |
deleted file mode 100644 |
139 |
index 28088713e5f..00000000000 |
140 |
--- a/net-libs/grpc/files/grpc-1.25.0-pkgconfig-libdir.patch |
141 |
+++ /dev/null |
142 |
@@ -1,17 +0,0 @@ |
143 |
---- a/Makefile 2018-05-28 17:59:34.631540261 +0800 |
144 |
-+++ b/Makefile 2018-05-28 18:01:31.266936000 +0800 |
145 |
-@@ -460,11 +460,11 @@ |
146 |
- CACHE_MK += HAS_PKG_CONFIG = true, |
147 |
- endif |
148 |
- |
149 |
--CORE_PC_TEMPLATE = prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name: $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CORE_VERSION),Cflags: -I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE) |
150 |
-+CORE_PC_TEMPLATE = prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name: $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CORE_VERSION),Cflags: -I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE) |
151 |
- |
152 |
--CPP_PC_TEMPLATE = prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name: $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CPP_VERSION),Cflags: -I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE) |
153 |
-+CPP_PC_TEMPLATE = prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name: $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CPP_VERSION),Cflags: -I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE) |
154 |
- |
155 |
--CSHARP_PC_TEMPLATE = prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name: $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CSHARP_VERSION),Cflags: -I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE) |
156 |
-+CSHARP_PC_TEMPLATE = prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name: $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CSHARP_VERSION),Cflags: -I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE) |
157 |
- |
158 |
- ifeq ($(SYSTEM),MINGW32) |
159 |
- EXECUTABLE_SUFFIX = .exe |
160 |
|
161 |
diff --git a/net-libs/grpc/files/grpc-1.3.0-Don-t-run-ldconfig.patch b/net-libs/grpc/files/grpc-1.3.0-Don-t-run-ldconfig.patch |
162 |
deleted file mode 100644 |
163 |
index d18063f2ef1..00000000000 |
164 |
--- a/net-libs/grpc/files/grpc-1.3.0-Don-t-run-ldconfig.patch |
165 |
+++ /dev/null |
166 |
@@ -1,53 +0,0 @@ |
167 |
-From 40f602c0beeb09197507d280b150174e09300d7f Mon Sep 17 00:00:00 2001 |
168 |
-From: Chirantan Ekbote <chirantan@××××××.com> |
169 |
-Date: Mon, 10 Jul 2017 13:26:04 -0700 |
170 |
-Subject: [PATCH 5/5] grpc-1.3.0: Don't run ldconfig |
171 |
- |
172 |
-It doesn't make sense to run ldconfig for a staged install. Remove it. |
173 |
---- |
174 |
- Makefile | 15 --------------- |
175 |
- 1 file changed, 15 deletions(-) |
176 |
- |
177 |
-diff --git a/Makefile b/Makefile |
178 |
-index 86bd66a5e0..f4c2a5bcb9 100644 |
179 |
---- a/Makefile |
180 |
-+++ b/Makefile |
181 |
-@@ -2582,11 +2582,6 @@ else ifneq ($(SYSTEM),Darwin) |
182 |
- $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/$(INSTALL_LIBDIR)/libgrpc_unsecure.so.3 |
183 |
- $(Q) ln -sf $(SHARED_PREFIX)grpc_unsecure$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(prefix)/$(INSTALL_LIBDIR)/libgrpc_unsecure.so |
184 |
- endif |
185 |
--ifneq ($(SYSTEM),MINGW32) |
186 |
--ifneq ($(SYSTEM),Darwin) |
187 |
-- $(Q) ldconfig || true |
188 |
--endif |
189 |
--endif |
190 |
- |
191 |
- |
192 |
- install-shared_cxx: shared_cxx strip-shared_cxx install-shared_c install-pkg-config_cxx |
193 |
-@@ -2635,11 +2630,6 @@ else ifneq ($(SYSTEM),Darwin) |
194 |
- $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/$(INSTALL_LIBDIR)/libgrpc++_unsecure.so.1 |
195 |
- $(Q) ln -sf $(SHARED_PREFIX)grpc++_unsecure$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) $(prefix)/$(INSTALL_LIBDIR)/libgrpc++_unsecure.so |
196 |
- endif |
197 |
--ifneq ($(SYSTEM),MINGW32) |
198 |
--ifneq ($(SYSTEM),Darwin) |
199 |
-- $(Q) ldconfig || true |
200 |
--endif |
201 |
--endif |
202 |
- |
203 |
- |
204 |
- install-shared_csharp: shared_csharp strip-shared_csharp |
205 |
-@@ -2652,11 +2642,6 @@ else ifneq ($(SYSTEM),Darwin) |
206 |
- $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CSHARP).$(SHARED_EXT_CSHARP) $(prefix)/$(INSTALL_LIBDIR)/libgrpc_csharp_ext.so.1 |
207 |
- $(Q) ln -sf $(SHARED_PREFIX)grpc_csharp_ext$(SHARED_VERSION_CSHARP).$(SHARED_EXT_CSHARP) $(prefix)/$(INSTALL_LIBDIR)/libgrpc_csharp_ext.so |
208 |
- endif |
209 |
--ifneq ($(SYSTEM),MINGW32) |
210 |
--ifneq ($(SYSTEM),Darwin) |
211 |
-- $(Q) ldconfig || true |
212 |
--endif |
213 |
--endif |
214 |
- |
215 |
- |
216 |
- install-plugins: $(PROTOC_PLUGINS) |
217 |
--- |
218 |
-2.14.0.rc0.284.gd933b75aa4-goog |
219 |
- |
220 |
|
221 |
diff --git a/net-libs/grpc/grpc-1.26.0-r1.ebuild b/net-libs/grpc/grpc-1.26.0-r1.ebuild |
222 |
deleted file mode 100644 |
223 |
index d9352892adf..00000000000 |
224 |
--- a/net-libs/grpc/grpc-1.26.0-r1.ebuild |
225 |
+++ /dev/null |
226 |
@@ -1,114 +0,0 @@ |
227 |
-# Copyright 1999-2020 Gentoo Authors |
228 |
-# Distributed under the terms of the GNU General Public License v2 |
229 |
- |
230 |
-EAPI=7 |
231 |
- |
232 |
-inherit flag-o-matic toolchain-funcs |
233 |
- |
234 |
-MY_PV="${PV//_pre/-pre}" |
235 |
- |
236 |
-DESCRIPTION="Modern open source high performance RPC framework" |
237 |
-HOMEPAGE="https://www.grpc.io" |
238 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz |
239 |
- https://dev.gentoo.org/~gyakovlev/distfiles/grpc-1.26-fix-odr-violation.patch.bz2" |
240 |
- |
241 |
-LICENSE="Apache-2.0" |
242 |
-SLOT="0" |
243 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
244 |
-IUSE="examples doc perftools systemtap static-libs" |
245 |
- |
246 |
-DEPEND=" |
247 |
- >=dev-libs/openssl-1.0.2:0=[-bindist] |
248 |
- >=dev-libs/protobuf-3.8.0:= |
249 |
- >=net-dns/c-ares-1.15.0:= |
250 |
- sys-libs/zlib:= |
251 |
- perftools? ( dev-util/google-perftools:= ) |
252 |
- systemtap? ( dev-util/systemtap ) |
253 |
-" |
254 |
- |
255 |
-RDEPEND="${DEPEND}" |
256 |
-BDEPEND="virtual/pkgconfig" |
257 |
- |
258 |
-# requires network |
259 |
-RESTRICT="test" |
260 |
- |
261 |
-PATCHES=( |
262 |
- "${WORKDIR}/grpc-1.26-fix-odr-violation.patch" #705574 |
263 |
- "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch" |
264 |
- "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch" |
265 |
- "${FILESDIR}/grpc-1.25.0-pkgconfig-libdir.patch" |
266 |
- "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # https://github.com/grpc/grpc/issues/14844 |
267 |
-) |
268 |
- |
269 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
270 |
- |
271 |
-src_prepare() { |
272 |
- rm -r third_party/cares || die |
273 |
- sed -i 's:-Werror::g' Makefile || die |
274 |
- sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die "fix libdir" |
275 |
- |
276 |
- default |
277 |
-} |
278 |
- |
279 |
-src_compile() { |
280 |
- tc-export CC CXX PKG_CONFIG |
281 |
- |
282 |
- local myemakeargs=( |
283 |
- V=1 |
284 |
- prefix=/usr |
285 |
- INSTALL_LIBDIR="$(get_libdir)" |
286 |
- AR="$(tc-getAR)" |
287 |
- AROPTS="rcs" |
288 |
- CFLAGS="${CFLAGS}" |
289 |
- CXXFLAGS="${CXXFLAGS}" |
290 |
- LD="${CC}" |
291 |
- LDXX="${CXX}" |
292 |
- STRIP=/bin/true |
293 |
- HOST_AR="$(tc-getBUILD_AR)" |
294 |
- HOST_CC="$(tc-getBUILD_CC)" |
295 |
- HOST_CXX="$(tc-getBUILD_CXX)" |
296 |
- HOST_LD="$(tc-getBUILD_CC)" |
297 |
- HOST_LDXX="$(tc-getBUILD_CXX)" |
298 |
- HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)" |
299 |
- HAS_SYSTEMTAP="$(usex systemtap true false)" |
300 |
- ) |
301 |
- |
302 |
- emake "${myemakeargs[@]}" |
303 |
-} |
304 |
- |
305 |
-src_install() { |
306 |
- local myemakeargs=( |
307 |
- V=1 |
308 |
- prefix="${ED}"/usr |
309 |
- INSTALL_LIBDIR="$(get_libdir)" |
310 |
- STRIP=/bin/true |
311 |
- ) |
312 |
- |
313 |
- emake "${myemakeargs[@]}" install |
314 |
- |
315 |
- use static-libs || find "${ED}" -name '*.a' -delete |
316 |
- |
317 |
- if use examples; then |
318 |
- find examples -name '.gitignore' -delete || die |
319 |
- dodoc -r examples |
320 |
- docompress -x /usr/share/doc/${PF}/examples |
321 |
- fi |
322 |
- |
323 |
- if use doc; then |
324 |
- find doc -name '.gitignore' -delete || die |
325 |
- local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md doc/. ) |
326 |
- fi |
327 |
- |
328 |
- einstalldocs |
329 |
-} |
330 |
- |
331 |
-pkg_postinst() { |
332 |
- local v |
333 |
- for v in ${REPLACING_VERSIONS}; do |
334 |
- if ver_test "${v}" -lt 1.16.0; then |
335 |
- ewarn "python bindings and tools moved to separate independent packages" |
336 |
- ewarn "check dev-python/grpcio and dev-python/grpcio-tools" |
337 |
- fi |
338 |
- done |
339 |
- |
340 |
-} |
341 |
|
342 |
diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml |
343 |
index 708220c8696..08613524f7f 100644 |
344 |
--- a/net-libs/grpc/metadata.xml |
345 |
+++ b/net-libs/grpc/metadata.xml |
346 |
@@ -8,10 +8,6 @@ |
347 |
<email>gyakovlev@g.o</email> |
348 |
<name>Georgy Yakovlev</name> |
349 |
</maintainer> |
350 |
- <use> |
351 |
- <flag name="perftools">Enable profiling using <pkg>dev-util/google-perftools</pkg></flag> |
352 |
- <flag name="systemtap">Enable SystemTAP/DTrace tracing</flag> |
353 |
- </use> |
354 |
<upstream> |
355 |
<remote-id type="cpe">cpe:/a:grpc:grpc</remote-id> |
356 |
<remote-id type="github">grpc/grpc</remote-id> |