1 |
commit: 8dc9a16879d3257ac91530034d9e9b1794aeb7e5 |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 27 18:53:56 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 00:40:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dc9a168 |
7 |
|
8 |
net-libs/google-cloud-cpp: Drop old |
9 |
|
10 |
Keep last cmake-utils version for now |
11 |
|
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
14 |
|
15 |
net-libs/google-cloud-cpp/Manifest | 5 - |
16 |
.../files/0001-Make-the-install-target-work.patch | 12 -- |
17 |
...GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch | 33 ------ |
18 |
.../files/0002-cmake-set-library-soversions.patch | 130 --------------------- |
19 |
.../files/google-cloud-cpp-0.5.0-openssl.patch | 13 --- |
20 |
.../google-cloud-cpp-0.10.0.ebuild | 60 ---------- |
21 |
.../google-cloud-cpp-0.2.0-r1.ebuild | 63 ---------- |
22 |
.../google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild | 65 ----------- |
23 |
.../google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild | 60 ---------- |
24 |
9 files changed, 441 deletions(-) |
25 |
|
26 |
diff --git a/net-libs/google-cloud-cpp/Manifest b/net-libs/google-cloud-cpp/Manifest |
27 |
index 144c9ba8b13b..f2d6f4d5dccb 100644 |
28 |
--- a/net-libs/google-cloud-cpp/Manifest |
29 |
+++ b/net-libs/google-cloud-cpp/Manifest |
30 |
@@ -1,8 +1,3 @@ |
31 |
DIST google-cloud-cpp-0.10.0.tar.gz 2189161 BLAKE2B 1e599478db3f280cddc4232c7e6005c7b5a48b1f22aecc8a99dc60f461dad349d343b40e6545680e7b211ea40a07c9b069052c2a6e36cb7279e400cdebfa95a3 SHA512 9a1774dcc39d1626c8a9cf8630fe3b3110df7e21e452c7b137e1911d10b304997571aadff5fc0216715729db4a29621066a5236a0b2cb027bba4ce3c56492fb3 |
32 |
-DIST google-cloud-cpp-0.2.0.tar.gz 687020 BLAKE2B 45c09c7cb5b9cc93c87e6d1faedf04f29ae81196dda95660abeadeaaf522376b4e50fd42489476c081e8de7336202d3883ab276c0e2334f1ad1b0e4e1f90fdb8 SHA512 ded3b564ef264a8bff4d81b08f2a97462e063127bf75a006bc7b18d18cfaee2f3cbe5957fe2c56cec06da5a7765854444fad8cd5045579c416c5f3de8462382e |
33 |
-DIST google-cloud-cpp-0.5.0.tar.gz 1050893 BLAKE2B 6e96e2ca3f518f3c417d9d395001a42182aaeacdbbcfedc636387dbccedf5e570367bc66e5b3fecbe53d5b61e51b53709b83da90718826ac643fb2c43c1723c6 SHA512 48c5f4828bc85ae2c4bfe52b5bb51ff5da6a4cd6759f819aefaf9c23d7fffeb0a10390274f0e83f030f66f59a364c05583240e426143073187f104345e0b05d5 |
34 |
-DIST google-cloud-cpp-0.9.0.tar.gz 2209532 BLAKE2B 33b297d4836cf171833a4481b567d22f44aacdb0afd5422ec7da7f3c47fc1284a4a7723e306508c7dc7cc595166f040abe00a92eed58a07dfed77b94f99e9889 SHA512 b62051b9396efe8af8063d28ac958524b762a90c053f82030834bd38f018f0755487f6b39ceb5a0082d7cbf8784854c4effd81de27633086857330dc9bda182b |
35 |
DIST googleapis-6a3277c0656219174ff7c345f31fb20a90b30b97.tar.gz 746503 BLAKE2B c0cba88c19c658ba7e9e65b80557903f8ded280d25438120b32f8c29a714b58a527c9218f0f73b53646949ecc073d873fee712b370b95523bdea5c28747eeb25 SHA512 92795397dfb9a6aa931be7b191ee91f9f2678a7175dea6babf19a50f61923373d288832cf10edf1ff252ca5148fe649c1bf95535e7c21513129495afae4c0ff7 |
36 |
-DIST googleapis-79ab27f3b70ebc221e265d2e8ab30a8cc2d21fa2.tar.gz 874997 BLAKE2B c837323124d26364c83dba72d4f73f3147ad117468b271e8d9502991c1f9a7b20d4f5405351147b65e99c57d207a2b8c1471228d2060ad238ade5159be1b009e SHA512 774e56fc30a4daf2e88d8d3b6747c1ac369d016e9d52527565b88d93252a22597339c17e612304f8823867da4b6df4b58a42dc9d4d480fc59962ee5314a85ab8 |
37 |
-DIST nlohmann-json-3.1.2-json.hpp 595822 BLAKE2B 510278344a510a516606f84aea53c682a64a7d1f4703e41503a1688e7c62ab1df8f197a697bd1149e958d21ab986d1b42cb78db6261b07239d9587756813acf5 SHA512 05df0ad3338f0bca885c0aa9da523922b99016986a9b01426b13888c0febd83bf1f6f063886f6c75f8a656ef79abac6292fe442dc05b1897d546ba5b70be48a5 |
38 |
DIST nlohmann-json-3.4.0-json.hpp 705920 BLAKE2B 9a22a6420f818038d8c4b352fb92ff0f0041b76232ef8665686399d184cfc62caffb60b4ccf1d8d33ae428839a70fece959f94795d71803623405d041efc9a13 SHA512 a1bdb4b434ee34cbc360e0203f500b25e15d7e1a6d25ea6e3bd3b56a5e7ec47d8c0bbe074930b7a07d6ceaf2112eefa24da9c1f0595aaf12c88697048238166d |
39 |
|
40 |
diff --git a/net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch b/net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch |
41 |
deleted file mode 100644 |
42 |
index f84cb4be3c27..000000000000 |
43 |
--- a/net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch |
44 |
+++ /dev/null |
45 |
@@ -1,12 +0,0 @@ |
46 |
-diff -ur google-cloud-cpp-0.2.0.orig/google/cloud/storage/CMakeLists.txt google-cloud-cpp-0.2.0/google/cloud/storage/CMakeLists.txt |
47 |
---- google-cloud-cpp-0.2.0.orig/google/cloud/storage/CMakeLists.txt 2018-09-28 00:39:41.170482472 +0800 |
48 |
-+++ google-cloud-cpp-0.2.0/google/cloud/storage/CMakeLists.txt 2018-09-28 00:42:09.679979597 +0800 |
49 |
-@@ -321,7 +321,7 @@ |
50 |
- PATTERN "testing/*" |
51 |
- EXCLUDE) |
52 |
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version_info.h DESTINATION |
53 |
-- include/storage/client) |
54 |
-+ include/google/cloud/storage) |
55 |
- |
56 |
- # Setup global variables used in the following *.in files. |
57 |
- set(GOOGLE_CLOUD_CPP_CONFIG_VERSION_MAJOR ${STORAGE_CLIENT_VERSION_MAJOR}) |
58 |
|
59 |
diff --git a/net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch b/net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch |
60 |
deleted file mode 100644 |
61 |
index a1b9a166ea3c..000000000000 |
62 |
--- a/net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch |
63 |
+++ /dev/null |
64 |
@@ -1,33 +0,0 @@ |
65 |
-From ef34b197dd23833c0dde9ea20f62681dbafa7a9b Mon Sep 17 00:00:00 2001 |
66 |
-From: Jason Zaman <jason@×××××××××.com> |
67 |
-Date: Fri, 7 Sep 2018 21:19:11 +0800 |
68 |
-Subject: [PATCH 1/2] cmake: Fix GOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config |
69 |
- |
70 |
-The grpc_cpp_plugin executable needs to be marked imported otherwise |
71 |
-cmake will try (and fail) to build it. Also the location variable was |
72 |
-typo'd. |
73 |
- |
74 |
-Signed-off-by: Jason Zaman <jason@×××××××××.com> |
75 |
---- |
76 |
- cmake/IncludeGrpc.cmake | 5 ++--- |
77 |
- 1 file changed, 2 insertions(+), 3 deletions(-) |
78 |
- |
79 |
-diff --git a/cmake/IncludeGrpc.cmake b/cmake/IncludeGrpc.cmake |
80 |
-index 36dcfe5c..c18f5cbc 100644 |
81 |
---- a/cmake/IncludeGrpc.cmake |
82 |
-+++ b/cmake/IncludeGrpc.cmake |
83 |
-@@ -225,9 +225,8 @@ elseif("${GOOGLE_CLOUD_CPP_GRPC_PROVIDER}" STREQUAL "pkg-config") |
84 |
- ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Release |
85 |
- ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Debug) |
86 |
- mark_as_advanced(PROTOC_GRPCPP_PLUGIN_EXECUTABLE) |
87 |
-- add_executable(grpc_cpp_plugin ${PROTOC_GRPC_PLUGIN_EXECUTABLE}) |
88 |
-+ add_executable(grpc_cpp_plugin IMPORTED) |
89 |
- set_property(TARGET grpc_cpp_plugin |
90 |
-- PROPERTY IMPORTED_LOCATION |
91 |
-- ${PROTOC_GRPCPP_CPP_PLUGIN_EXECUTABLE}) |
92 |
-+ PROPERTY IMPORTED_LOCATION ${PROTOC_GRPCPP_PLUGIN_EXECUTABLE}) |
93 |
- |
94 |
- endif () |
95 |
--- |
96 |
-2.16.4 |
97 |
- |
98 |
|
99 |
diff --git a/net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch b/net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch |
100 |
deleted file mode 100644 |
101 |
index 74a57711ed63..000000000000 |
102 |
--- a/net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch |
103 |
+++ /dev/null |
104 |
@@ -1,130 +0,0 @@ |
105 |
-From b1d6f58033be92661f91b221b878e333eb02fd7f Mon Sep 17 00:00:00 2001 |
106 |
-From: Jason Zaman <jason@×××××××××.com> |
107 |
-Date: Fri, 7 Sep 2018 22:35:24 +0800 |
108 |
-Subject: [PATCH 2/2] cmake: set library soversions |
109 |
- |
110 |
-Set library soversions so CMake sets the symlinks and soversions |
111 |
-properly. Install the cmake files in the correct dir. |
112 |
- |
113 |
-Signed-off-by: Jason Zaman <jason@×××××××××.com> |
114 |
---- |
115 |
- google/cloud/CMakeLists.txt | 7 +++++++ |
116 |
- google/cloud/bigtable/CMakeLists.txt | 14 ++++++++++++++ |
117 |
- google/cloud/firestore/CMakeLists.txt | 12 ++++++++++-- |
118 |
- google/cloud/storage/CMakeLists.txt | 9 ++++++++- |
119 |
- 4 files changed, 39 insertions(+), 3 deletions(-) |
120 |
- |
121 |
-diff --git a/google/cloud/CMakeLists.txt b/google/cloud/CMakeLists.txt |
122 |
-index 3f3f8742..442f4e17 100644 |
123 |
---- a/google/cloud/CMakeLists.txt |
124 |
-+++ b/google/cloud/CMakeLists.txt |
125 |
-@@ -98,6 +98,13 @@ target_include_directories(google_cloud_cpp_common |
126 |
- $<INSTALL_INTERFACE:include>) |
127 |
- target_compile_options(google_cloud_cpp_common |
128 |
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) |
129 |
-+set_target_properties( |
130 |
-+ google_cloud_cpp_common |
131 |
-+ PROPERTIES |
132 |
-+ VERSION |
133 |
-+ ${GOOGLE_CLOUD_CPP_VERSION_MAJOR}.${GOOGLE_CLOUD_CPP_VERSION_MINOR}.${GOOGLE_CLOUD_CPP_VERSION_PATCH} |
134 |
-+ SOVERSION |
135 |
-+ ${GOOGLE_CLOUD_CPP_VERSION_MAJOR}) |
136 |
- |
137 |
- include(CreateBazelConfig) |
138 |
- create_bazel_config(google_cloud_cpp_common) |
139 |
-diff --git a/google/cloud/bigtable/CMakeLists.txt b/google/cloud/bigtable/CMakeLists.txt |
140 |
-index 9ed778eb..fd9c8797 100644 |
141 |
---- a/google/cloud/bigtable/CMakeLists.txt |
142 |
-+++ b/google/cloud/bigtable/CMakeLists.txt |
143 |
-@@ -102,6 +102,13 @@ target_include_directories(bigtable_protos |
144 |
- $<INSTALL_INTERFACE:include>) |
145 |
- target_compile_options(bigtable_protos |
146 |
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) |
147 |
-+set_target_properties( |
148 |
-+ bigtable_protos |
149 |
-+ PROPERTIES |
150 |
-+ VERSION |
151 |
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR}.${BIGTABLE_CLIENT_VERSION_MINOR}.${BIGTABLE_CLIENT_VERSION_PATCH} |
152 |
-+ SOVERSION |
153 |
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR}) |
154 |
- add_library(bigtable::protos ALIAS bigtable_protos) |
155 |
- |
156 |
- # Enable unit tests |
157 |
-@@ -206,6 +213,13 @@ target_include_directories(bigtable_client |
158 |
- $<INSTALL_INTERFACE:include>) |
159 |
- target_compile_options(bigtable_client |
160 |
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) |
161 |
-+set_target_properties( |
162 |
-+ bigtable_client |
163 |
-+ PROPERTIES |
164 |
-+ VERSION |
165 |
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR}.${BIGTABLE_CLIENT_VERSION_MINOR}.${BIGTABLE_CLIENT_VERSION_PATCH} |
166 |
-+ SOVERSION |
167 |
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR}) |
168 |
- add_library(bigtable::client ALIAS bigtable_client) |
169 |
- |
170 |
- include(CreateBazelConfig) |
171 |
-diff --git a/google/cloud/firestore/CMakeLists.txt b/google/cloud/firestore/CMakeLists.txt |
172 |
-index 88c5ad6d..c69e48fd 100644 |
173 |
---- a/google/cloud/firestore/CMakeLists.txt |
174 |
-+++ b/google/cloud/firestore/CMakeLists.txt |
175 |
-@@ -62,6 +62,13 @@ target_include_directories(firestore_client |
176 |
- $<INSTALL_INTERFACE:include>) |
177 |
- target_compile_options(firestore_client |
178 |
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) |
179 |
-+set_target_properties( |
180 |
-+ firestore_client |
181 |
-+ PROPERTIES |
182 |
-+ VERSION |
183 |
-+ ${FIRESTORE_CLIENT_VERSION_MAJOR}.${FIRESTORE_CLIENT_VERSION_MINOR}.${FIRESTORE_CLIENT_VERSION_PATCH} |
184 |
-+ SOVERSION |
185 |
-+ ${FIRESTORE_CLIENT_VERSION_MAJOR}) |
186 |
- add_library(firestore::client ALIAS firestore_client) |
187 |
- |
188 |
- include(CreateBazelConfig) |
189 |
-@@ -104,7 +111,8 @@ install(TARGETS |
190 |
- |
191 |
- # The exports can only be installed if all the dependencies are installed. CMake |
192 |
- # needs to know where the submodules will be installed from, |
193 |
--install(EXPORT firestore-targets DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake) |
194 |
-+install(EXPORT firestore-targets |
195 |
-+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/firestore_client") |
196 |
- |
197 |
- install(TARGETS firestore_client |
198 |
- EXPORT firestore-targets |
199 |
-@@ -142,4 +150,4 @@ install( |
200 |
- FILES "${CMAKE_CURRENT_BINARY_DIR}/firestore_client-config.cmake" |
201 |
- "${CMAKE_CURRENT_BINARY_DIR}/firestore_client-config-version.cmake" |
202 |
- DESTINATION |
203 |
-- ${CMAKE_INSTALL_DATAROOTDIR}/cmake) |
204 |
-+ "${CMAKE_INSTALL_LIBDIR}/cmake/firestore_client") |
205 |
-diff --git a/google/cloud/storage/CMakeLists.txt b/google/cloud/storage/CMakeLists.txt |
206 |
-index cef3954b..912391cc 100644 |
207 |
---- a/google/cloud/storage/CMakeLists.txt |
208 |
-+++ b/google/cloud/storage/CMakeLists.txt |
209 |
-@@ -205,6 +205,13 @@ target_include_directories(storage_client |
210 |
- $<INSTALL_INTERFACE:include>) |
211 |
- target_compile_options(storage_client |
212 |
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG}) |
213 |
-+set_target_properties( |
214 |
-+ storage_client |
215 |
-+ PROPERTIES |
216 |
-+ VERSION |
217 |
-+ ${STORAGE_CLIENT_VERSION_MAJOR}.${STORAGE_CLIENT_VERSION_MINOR}.${STORAGE_CLIENT_VERSION_PATCH} |
218 |
-+ SOVERSION |
219 |
-+ ${STORAGE_CLIENT_VERSION_MAJOR}) |
220 |
- |
221 |
- add_library(storage_client_testing |
222 |
- testing/canonical_errors.h |
223 |
-@@ -315,7 +322,7 @@ install(TARGETS storage_client |
224 |
- RUNTIME DESTINATION bin |
225 |
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} |
226 |
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) |
227 |
--install(DIRECTORY . DESTINATION include/storage/client |
228 |
-+install(DIRECTORY . DESTINATION include/google/cloud/storage/client |
229 |
- FILES_MATCHING |
230 |
- PATTERN "*.h" |
231 |
- PATTERN "testing/*" |
232 |
--- |
233 |
-2.16.4 |
234 |
- |
235 |
|
236 |
diff --git a/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch b/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch |
237 |
deleted file mode 100644 |
238 |
index a5579909e8ab..000000000000 |
239 |
--- a/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch |
240 |
+++ /dev/null |
241 |
@@ -1,13 +0,0 @@ |
242 |
-diff -ur google-cloud-cpp-0.5.0.orig/google/cloud/storage/CMakeLists.txt google-cloud-cpp-0.5.0/google/cloud/storage/CMakeLists.txt |
243 |
---- google-cloud-cpp-0.5.0.orig/google/cloud/storage/CMakeLists.txt 2019-01-30 14:01:05.657031402 +0800 |
244 |
-+++ google-cloud-cpp-0.5.0/google/cloud/storage/CMakeLists.txt 2019-01-30 14:01:19.969968164 +0800 |
245 |
-@@ -215,9 +215,6 @@ |
246 |
- Crc32c::crc32c |
247 |
- CURL::CURL |
248 |
- Threads::Threads |
249 |
-- OpenSSL::SSL |
250 |
-- OpenSSL::Crypto |
251 |
-- ZLIB::ZLIB |
252 |
- PRIVATE storage_common_options) |
253 |
- target_include_directories(storage_client |
254 |
- PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}> |
255 |
|
256 |
diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild |
257 |
deleted file mode 100644 |
258 |
index 0575f7a04ab0..000000000000 |
259 |
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild |
260 |
+++ /dev/null |
261 |
@@ -1,60 +0,0 @@ |
262 |
-# Copyright 1999-2019 Gentoo Authors |
263 |
-# Distributed under the terms of the GNU General Public License v2 |
264 |
- |
265 |
-EAPI=6 |
266 |
- |
267 |
-inherit cmake-utils |
268 |
- |
269 |
-JSON_VER="3.4.0" |
270 |
-GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97" |
271 |
- |
272 |
-DESCRIPTION="Google Cloud Client Library for C++" |
273 |
-HOMEPAGE="https://cloud.google.com/" |
274 |
-SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz |
275 |
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp |
276 |
- https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" |
277 |
- |
278 |
-LICENSE="Apache-2.0" |
279 |
-SLOT="0" |
280 |
-KEYWORDS="~amd64 ~x86" |
281 |
-IUSE="" |
282 |
- |
283 |
-RESTRICT="test" |
284 |
-RDEPEND="dev-libs/protobuf:= |
285 |
- dev-libs/crc32c |
286 |
- net-misc/curl |
287 |
- net-libs/grpc:=" |
288 |
-DEPEND="${RDEPEND} |
289 |
- dev-cpp/gtest" |
290 |
- |
291 |
-DOCS=( README.md ) |
292 |
-PATCHES=( |
293 |
- "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch" |
294 |
- "${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch" |
295 |
-) |
296 |
- |
297 |
-src_configure() { |
298 |
- local mycmakeargs=( |
299 |
- -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package |
300 |
- -DBUILD_SHARED_LIBS=ON |
301 |
- -DBUILD_TESTING=OFF |
302 |
- ) |
303 |
- |
304 |
- cmake-utils_src_configure |
305 |
- |
306 |
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die |
307 |
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die |
308 |
- |
309 |
- mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die |
310 |
- cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \ |
311 |
- "${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die |
312 |
-} |
313 |
- |
314 |
-src_test() { |
315 |
- # test fails |
316 |
- local myctestargs=( |
317 |
- -E internal_parse_rfc3339_test |
318 |
- ) |
319 |
- |
320 |
- cmake-utils_src_test |
321 |
-} |
322 |
|
323 |
diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild |
324 |
deleted file mode 100644 |
325 |
index fe66dc867def..000000000000 |
326 |
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild |
327 |
+++ /dev/null |
328 |
@@ -1,63 +0,0 @@ |
329 |
-# Copyright 1999-2019 Gentoo Authors |
330 |
-# Distributed under the terms of the GNU General Public License v2 |
331 |
- |
332 |
-EAPI=6 |
333 |
- |
334 |
-inherit cmake-utils |
335 |
- |
336 |
-JSON_VER="3.1.2" |
337 |
-GOOGLEAPIS_COMMIT="79ab27f3b70ebc221e265d2e8ab30a8cc2d21fa2" |
338 |
- |
339 |
-DESCRIPTION="Google Cloud Client Library for C++" |
340 |
-HOMEPAGE="https://cloud.google.com/" |
341 |
-SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz |
342 |
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp |
343 |
- https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" |
344 |
- |
345 |
-LICENSE="Apache-2.0" |
346 |
-SLOT="0" |
347 |
-KEYWORDS="~amd64 ~x86" |
348 |
-IUSE="test" |
349 |
-RESTRICT="!test? ( test )" |
350 |
- |
351 |
-RDEPEND="dev-libs/protobuf:= |
352 |
- net-misc/curl |
353 |
- net-libs/grpc" |
354 |
-DEPEND="${RDEPEND} |
355 |
- dev-cpp/gtest" |
356 |
- |
357 |
-DOCS=( README.md ) |
358 |
-PATCHES=( |
359 |
- "${FILESDIR}/0001-Make-the-install-target-work.patch" |
360 |
- "${FILESDIR}/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch" |
361 |
- "${FILESDIR}/0002-cmake-set-library-soversions.patch" |
362 |
-) |
363 |
- |
364 |
-src_prepare() { |
365 |
- rm -rf "${S}/third_party/googleapis/" || die |
366 |
- mv "${WORKDIR}/googleapis-${GOOGLEAPIS_COMMIT}/" "${S}/third_party/googleapis/" || die |
367 |
- |
368 |
- cmake-utils_src_prepare |
369 |
-} |
370 |
- |
371 |
-src_configure() { |
372 |
- local mycmakeargs=( |
373 |
- -DGOOGLE_CLOUD_CPP_GMOCK_PROVIDER=package |
374 |
- -DGOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config |
375 |
- -DBUILD_SHARED_LIBS=ON |
376 |
- ) |
377 |
- |
378 |
- cmake-utils_src_configure |
379 |
- |
380 |
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die |
381 |
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die |
382 |
-} |
383 |
- |
384 |
-src_test() { |
385 |
- # test fails |
386 |
- local myctestargs=( |
387 |
- -E internal_parse_rfc3339_test |
388 |
- ) |
389 |
- |
390 |
- cmake-utils_src_test |
391 |
-} |
392 |
|
393 |
diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild |
394 |
deleted file mode 100644 |
395 |
index 4e651cbb6b25..000000000000 |
396 |
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild |
397 |
+++ /dev/null |
398 |
@@ -1,65 +0,0 @@ |
399 |
-# Copyright 1999-2019 Gentoo Authors |
400 |
-# Distributed under the terms of the GNU General Public License v2 |
401 |
- |
402 |
-EAPI=6 |
403 |
- |
404 |
-inherit cmake-utils |
405 |
- |
406 |
-JSON_VER="3.4.0" |
407 |
-GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97" |
408 |
- |
409 |
-DESCRIPTION="Google Cloud Client Library for C++" |
410 |
-HOMEPAGE="https://cloud.google.com/" |
411 |
-SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz |
412 |
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp |
413 |
- https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" |
414 |
- |
415 |
-LICENSE="Apache-2.0" |
416 |
-SLOT="0" |
417 |
-KEYWORDS="~amd64 ~x86" |
418 |
-IUSE="" |
419 |
- |
420 |
-RESTRICT="test" |
421 |
-RDEPEND="dev-cpp/gtest |
422 |
- dev-libs/protobuf:= |
423 |
- dev-libs/crc32c |
424 |
- net-misc/curl |
425 |
- net-libs/grpc" |
426 |
-DEPEND="${RDEPEND}" |
427 |
- |
428 |
-DOCS=( README.md ) |
429 |
-PATCHES=( |
430 |
- "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch" |
431 |
-) |
432 |
- |
433 |
-src_prepare() { |
434 |
- rm -rf "${S}/third_party/googleapis/" || die |
435 |
- mv "${WORKDIR}/googleapis-${GOOGLEAPIS_COMMIT}/" "${S}/third_party/googleapis/" || die |
436 |
- |
437 |
- cmake-utils_src_prepare |
438 |
-} |
439 |
- |
440 |
-src_configure() { |
441 |
- local mycmakeargs=( |
442 |
- -DGOOGLE_CLOUD_CPP_CRC32C_PROVIDER=package |
443 |
- -DGOOGLE_CLOUD_CPP_CURL_PROVIDER=package |
444 |
- -DGOOGLE_CLOUD_CPP_GMOCK_PROVIDER=package |
445 |
- -DGOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config |
446 |
- -DBUILD_SHARED_LIBS=ON |
447 |
- -DBUILD_TESTING=OFF |
448 |
- ) |
449 |
- |
450 |
- cmake-utils_src_configure |
451 |
- |
452 |
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die |
453 |
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die |
454 |
-} |
455 |
- |
456 |
-src_test() { |
457 |
- # test fails |
458 |
- local myctestargs=( |
459 |
- -E internal_parse_rfc3339_test |
460 |
- ) |
461 |
- |
462 |
- cmake-utils_src_test |
463 |
-} |
464 |
|
465 |
diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild |
466 |
deleted file mode 100644 |
467 |
index 0575f7a04ab0..000000000000 |
468 |
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild |
469 |
+++ /dev/null |
470 |
@@ -1,60 +0,0 @@ |
471 |
-# Copyright 1999-2019 Gentoo Authors |
472 |
-# Distributed under the terms of the GNU General Public License v2 |
473 |
- |
474 |
-EAPI=6 |
475 |
- |
476 |
-inherit cmake-utils |
477 |
- |
478 |
-JSON_VER="3.4.0" |
479 |
-GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97" |
480 |
- |
481 |
-DESCRIPTION="Google Cloud Client Library for C++" |
482 |
-HOMEPAGE="https://cloud.google.com/" |
483 |
-SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz |
484 |
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp |
485 |
- https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" |
486 |
- |
487 |
-LICENSE="Apache-2.0" |
488 |
-SLOT="0" |
489 |
-KEYWORDS="~amd64 ~x86" |
490 |
-IUSE="" |
491 |
- |
492 |
-RESTRICT="test" |
493 |
-RDEPEND="dev-libs/protobuf:= |
494 |
- dev-libs/crc32c |
495 |
- net-misc/curl |
496 |
- net-libs/grpc:=" |
497 |
-DEPEND="${RDEPEND} |
498 |
- dev-cpp/gtest" |
499 |
- |
500 |
-DOCS=( README.md ) |
501 |
-PATCHES=( |
502 |
- "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch" |
503 |
- "${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch" |
504 |
-) |
505 |
- |
506 |
-src_configure() { |
507 |
- local mycmakeargs=( |
508 |
- -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package |
509 |
- -DBUILD_SHARED_LIBS=ON |
510 |
- -DBUILD_TESTING=OFF |
511 |
- ) |
512 |
- |
513 |
- cmake-utils_src_configure |
514 |
- |
515 |
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die |
516 |
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die |
517 |
- |
518 |
- mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die |
519 |
- cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \ |
520 |
- "${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die |
521 |
-} |
522 |
- |
523 |
-src_test() { |
524 |
- # test fails |
525 |
- local myctestargs=( |
526 |
- -E internal_parse_rfc3339_test |
527 |
- ) |
528 |
- |
529 |
- cmake-utils_src_test |
530 |
-} |