summaryrefslogtreecommitdiff
path: root/net-libs/google-cloud-cpp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /net-libs/google-cloud-cpp
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'net-libs/google-cloud-cpp')
-rw-r--r--net-libs/google-cloud-cpp/Manifest18
-rw-r--r--net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch12
-rw-r--r--net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch33
-rw-r--r--net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch130
-rw-r--r--net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch13
-rw-r--r--net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild (renamed from net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r1.ebuild)13
-rw-r--r--net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild63
-rw-r--r--net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild65
-rw-r--r--net-libs/google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild60
-rw-r--r--net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild (renamed from net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild)46
10 files changed, 35 insertions, 418 deletions
diff --git a/net-libs/google-cloud-cpp/Manifest b/net-libs/google-cloud-cpp/Manifest
index ee409e069083..2397d3f69307 100644
--- a/net-libs/google-cloud-cpp/Manifest
+++ b/net-libs/google-cloud-cpp/Manifest
@@ -1,19 +1,9 @@
-AUX 0001-Make-the-install-target-work.patch 694 BLAKE2B 21498aaf2e14e76a7df5bcd6ff45910b9bc2cc35518df6af5a5b0c63622c620360f0aa0203121f7a529171591c7a39eef5fb6cf0ed1986a9efd8c5fff2a7dc0c SHA512 4e8648b3f418b3a8839ef5935e9d84d99ab50bdd6d2e9b95f4ca132abdda84305931e146ff4881acc67e5baee59e5a2e9402c604ada26b09d6c1e964b8dfe4b9
-AUX 0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch 1340 BLAKE2B 4f043a50d93f66beb503057179c15cce975f361936c94cba2f727c20ec6328ff83a3c028effe81d00b3426df92b3f89d49827337c2683cedb30fba718cf15696 SHA512 b916425bb94d90a4609ea55ace43c4892a3688f3f49ccecd58ab403637c40694e2f90fb7d88cd3fdbe459372293d3f2ca99789231e064a3d4a308b59169374c3
-AUX 0002-cmake-set-library-soversions.patch 5439 BLAKE2B db60577550006e0088ca991bdad3792e68281f9717238c979be875011f3b870566b604fe0e56c0f05f87e981c0118b50050186f6992d1978980047a2d015ccea SHA512 b58b2a42f9676519866a7309e2e1788138d9c77316d8a5eb9f40e6ae27a2a64c54ed5b023574cd1a47c6f87fe14f96801c9b351066a28e258153282848d64c05
-AUX google-cloud-cpp-0.5.0-openssl.patch 792 BLAKE2B 1f234335c7552d8ada5b6eec9687f8ef33fbf67220e7cff2505f3815c3d93d5c9134a291a7df0acd2f654895606082e05e37b5e21b1e0adfb891017471f8bb14 SHA512 60a411c51f719359d64de9be76a3faff3fd26d08b9d159f3b6b9dfccb49b3660a0232732b06cb1cb515f1454c2160d8dd73dd7e980af967d4cdef52cf48a3bc0
AUX google-cloud-cpp-0.9.0-offline_nlohmannjson.patch 680 BLAKE2B bf5fdffaad3ec131f71b5053bcabe05826c395eea3cb3f02579fa841d3e18f9f72d8359c66d715206fc7521be9dd678a5370250acae0cd9fab0a367935e414cb SHA512 6af1508b86add950d3df2c051b846caf8bf8a44d042b2934417cfaf79c130378637a4ba13775045163ad44ca913837cbcd53d52398250933f062158e4b58023e
DIST google-cloud-cpp-0.10.0.tar.gz 2189161 BLAKE2B 1e599478db3f280cddc4232c7e6005c7b5a48b1f22aecc8a99dc60f461dad349d343b40e6545680e7b211ea40a07c9b069052c2a6e36cb7279e400cdebfa95a3 SHA512 9a1774dcc39d1626c8a9cf8630fe3b3110df7e21e452c7b137e1911d10b304997571aadff5fc0216715729db4a29621066a5236a0b2cb027bba4ce3c56492fb3
-DIST google-cloud-cpp-0.2.0.tar.gz 687020 BLAKE2B 45c09c7cb5b9cc93c87e6d1faedf04f29ae81196dda95660abeadeaaf522376b4e50fd42489476c081e8de7336202d3883ab276c0e2334f1ad1b0e4e1f90fdb8 SHA512 ded3b564ef264a8bff4d81b08f2a97462e063127bf75a006bc7b18d18cfaee2f3cbe5957fe2c56cec06da5a7765854444fad8cd5045579c416c5f3de8462382e
-DIST google-cloud-cpp-0.5.0.tar.gz 1050893 BLAKE2B 6e96e2ca3f518f3c417d9d395001a42182aaeacdbbcfedc636387dbccedf5e570367bc66e5b3fecbe53d5b61e51b53709b83da90718826ac643fb2c43c1723c6 SHA512 48c5f4828bc85ae2c4bfe52b5bb51ff5da6a4cd6759f819aefaf9c23d7fffeb0a10390274f0e83f030f66f59a364c05583240e426143073187f104345e0b05d5
-DIST google-cloud-cpp-0.9.0.tar.gz 2209532 BLAKE2B 33b297d4836cf171833a4481b567d22f44aacdb0afd5422ec7da7f3c47fc1284a4a7723e306508c7dc7cc595166f040abe00a92eed58a07dfed77b94f99e9889 SHA512 b62051b9396efe8af8063d28ac958524b762a90c053f82030834bd38f018f0755487f6b39ceb5a0082d7cbf8784854c4effd81de27633086857330dc9bda182b
+DIST google-cloud-cpp-1.36.0.tar.gz 4522003 BLAKE2B f436935b3a95fa911fb04429ee20b0712eeaf58f8ebfdd1b75f848e19ffa88d17b1be1d917f5693f1996ce6eaff6bd6053958c2b20cf29370164bccf2794c76c SHA512 a9885f9e0726de64eaee0376f3d1ed3a00c32919f2b9a911479206f2965a62eea5ff292b459f61eae97d5d2fe336c410c615296fcb0c7506faf45c57bd6f8871
+DIST googleapis-28c6bb97cac6f16c69879be4e655674a74b886ef.tar.gz 5448352 BLAKE2B 0421ba9506e931d0bd7b01011832a91235f04ae825489021204da17d543671994e68dfecd97eeb8ee90f42726450d375955e1458e7dfba8551854c036bdc6069 SHA512 59f4d78c268280323314b8d471d4877cacc4238bfac3a769aa86cedd22d79ebeb50f2aaa8a60f9264976d12ef629a2a3d1a0da1c0d6723ec08f517ef0fae9450
DIST googleapis-6a3277c0656219174ff7c345f31fb20a90b30b97.tar.gz 746503 BLAKE2B c0cba88c19c658ba7e9e65b80557903f8ded280d25438120b32f8c29a714b58a527c9218f0f73b53646949ecc073d873fee712b370b95523bdea5c28747eeb25 SHA512 92795397dfb9a6aa931be7b191ee91f9f2678a7175dea6babf19a50f61923373d288832cf10edf1ff252ca5148fe649c1bf95535e7c21513129495afae4c0ff7
-DIST googleapis-79ab27f3b70ebc221e265d2e8ab30a8cc2d21fa2.tar.gz 874997 BLAKE2B c837323124d26364c83dba72d4f73f3147ad117468b271e8d9502991c1f9a7b20d4f5405351147b65e99c57d207a2b8c1471228d2060ad238ade5159be1b009e SHA512 774e56fc30a4daf2e88d8d3b6747c1ac369d016e9d52527565b88d93252a22597339c17e612304f8823867da4b6df4b58a42dc9d4d480fc59962ee5314a85ab8
-DIST nlohmann-json-3.1.2-json.hpp 595822 BLAKE2B 510278344a510a516606f84aea53c682a64a7d1f4703e41503a1688e7c62ab1df8f197a697bd1149e958d21ab986d1b42cb78db6261b07239d9587756813acf5 SHA512 05df0ad3338f0bca885c0aa9da523922b99016986a9b01426b13888c0febd83bf1f6f063886f6c75f8a656ef79abac6292fe442dc05b1897d546ba5b70be48a5
DIST nlohmann-json-3.4.0-json.hpp 705920 BLAKE2B 9a22a6420f818038d8c4b352fb92ff0f0041b76232ef8665686399d184cfc62caffb60b4ccf1d8d33ae428839a70fece959f94795d71803623405d041efc9a13 SHA512 a1bdb4b434ee34cbc360e0203f500b25e15d7e1a6d25ea6e3bd3b56a5e7ec47d8c0bbe074930b7a07d6ceaf2112eefa24da9c1f0595aaf12c88697048238166d
-EBUILD google-cloud-cpp-0.10.0-r1.ebuild 1587 BLAKE2B 8aea180d6f4feadf28146b0bf690a104ff154c6b484b683141d6135a62aa73f775d22853676808bb27452bd8e2b3f40c44ae97f27d17e6dc057d2ef635a360bc SHA512 6f9f0eb135956cc81921974dc66bf0800c1f12cbf2f52b03edb232f28984b779ad42f53b0d29f30761b46a88443a8b6fa70f515cc5af98eaeb5f309ffc330d1b
-EBUILD google-cloud-cpp-0.10.0.ebuild 1619 BLAKE2B 6fbec550d4745ac11f9cd61f3781220994dc4b57322b71949fee3ed4b44b561c4730ca81df959ea665fa247a08915b961e62468fbaf50d60e91ae1bac9784cf6 SHA512 7309088ff54ba12a75388b50a208c6d8d37e9ef8228c8ee0dc2f3fc00d7ed8a079b6bcd64c2e2fe77c775f2f3736d5acf57849423d0f1c1a9fdd93f49c385aca
-EBUILD google-cloud-cpp-0.2.0-r1.ebuild 1692 BLAKE2B e140396a1b9dfe47a282733c8b50961a2f820e728556a0a26c4ab66769c95bd3af5b63484af7b7034939a62731d190717d21225df6bab8c41034fce04bb847ad SHA512 d121f5d5c913f740652440e7583079aad68b1a1d03ce79145177a0ed9ff8117e7d1354c116be50623b7b7a60fd58279385b3e40181bd23eeda82b7697d140b5b
-EBUILD google-cloud-cpp-0.5.0.ebuild 1668 BLAKE2B 07e76db614ffc35f1accc059f6cfefdc7f75009618ccfe04a69fb017babc52f9177d7c6bf8c44b64f9787b16d82c3776e56f0df7978c7eec42284bda1318fc97 SHA512 da75dae85dcfbc839b95dd00bcf42f65d31bfd4d315605cbe09db9971488a5347327e3f8b71563800ea16e3ac94309b7131c3ce4ca147b026e1ad611982e78bd
-EBUILD google-cloud-cpp-0.9.0.ebuild 1619 BLAKE2B 6fbec550d4745ac11f9cd61f3781220994dc4b57322b71949fee3ed4b44b561c4730ca81df959ea665fa247a08915b961e62468fbaf50d60e91ae1bac9784cf6 SHA512 7309088ff54ba12a75388b50a208c6d8d37e9ef8228c8ee0dc2f3fc00d7ed8a079b6bcd64c2e2fe77c775f2f3736d5acf57849423d0f1c1a9fdd93f49c385aca
+EBUILD google-cloud-cpp-0.10.0-r2.ebuild 1601 BLAKE2B 5d2a5d1d2b0ad146b9055da95506826e6b88f23d51fd1c6c554fffc9c54da87ac501523d2288082c6de3398681853de636b8adbbb1356b74b508b0e04909037c SHA512 a8bc381dc4372b2fd02d4fea10862120cf8ae498ce8041aca2758736fee8c93bfb15e245c9bd71e417022d4207c983d75eae9f29c8017b2bdd4a6f1102eb5ea1
+EBUILD google-cloud-cpp-1.36.0.ebuild 1408 BLAKE2B a20d831144c3a38b589066f37a61ca4f8bc366fceb32a1d6b83c48260ab40332829e72b52de02553754bcfb1aaeafff9a2c5312a19dcb596cb9270f50737829a SHA512 187397204b92809d920cca7d5ef665e72a9be3454467a705727a08c44fdbb702b7e3736e388c09c944655005bb30f15fd5c8d24278c0b7f4675f09488fcbe6bf
MISC metadata.xml 248 BLAKE2B fc6c49e6d2a9807728c39d8b35e23c41446ef45106e9e400926334eecc4fac18c2614dfa18e68888f2e8c7d9356468794734ad0b33bbdf632f690a1c3dc4df34 SHA512 d9e2f282ed49c5ecde0d12d63ebcc971b7c487b9cdac14fe57790cc89a5984ea62bd0ba7c9aed86679598e7704c38f1767e0222d7f54c694f4328a9c4b9d36fa
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
deleted file mode 100644
index f84cb4be3c27..000000000000
--- a/net-libs/google-cloud-cpp/files/0001-Make-the-install-target-work.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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
---- google-cloud-cpp-0.2.0.orig/google/cloud/storage/CMakeLists.txt 2018-09-28 00:39:41.170482472 +0800
-+++ google-cloud-cpp-0.2.0/google/cloud/storage/CMakeLists.txt 2018-09-28 00:42:09.679979597 +0800
-@@ -321,7 +321,7 @@
- PATTERN "testing/*"
- EXCLUDE)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/version_info.h DESTINATION
-- include/storage/client)
-+ include/google/cloud/storage)
-
- # Setup global variables used in the following *.in files.
- set(GOOGLE_CLOUD_CPP_CONFIG_VERSION_MAJOR ${STORAGE_CLIENT_VERSION_MAJOR})
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
deleted file mode 100644
index a1b9a166ea3c..000000000000
--- a/net-libs/google-cloud-cpp/files/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From ef34b197dd23833c0dde9ea20f62681dbafa7a9b Mon Sep 17 00:00:00 2001
-From: Jason Zaman <jason@perfinion.com>
-Date: Fri, 7 Sep 2018 21:19:11 +0800
-Subject: [PATCH 1/2] cmake: Fix GOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config
-
-The grpc_cpp_plugin executable needs to be marked imported otherwise
-cmake will try (and fail) to build it. Also the location variable was
-typo'd.
-
-Signed-off-by: Jason Zaman <jason@perfinion.com>
----
- cmake/IncludeGrpc.cmake | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/cmake/IncludeGrpc.cmake b/cmake/IncludeGrpc.cmake
-index 36dcfe5c..c18f5cbc 100644
---- a/cmake/IncludeGrpc.cmake
-+++ b/cmake/IncludeGrpc.cmake
-@@ -225,9 +225,8 @@ elseif("${GOOGLE_CLOUD_CPP_GRPC_PROVIDER}" STREQUAL "pkg-config")
- ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Release
- ${PROTOBUF_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Debug)
- mark_as_advanced(PROTOC_GRPCPP_PLUGIN_EXECUTABLE)
-- add_executable(grpc_cpp_plugin ${PROTOC_GRPC_PLUGIN_EXECUTABLE})
-+ add_executable(grpc_cpp_plugin IMPORTED)
- set_property(TARGET grpc_cpp_plugin
-- PROPERTY IMPORTED_LOCATION
-- ${PROTOC_GRPCPP_CPP_PLUGIN_EXECUTABLE})
-+ PROPERTY IMPORTED_LOCATION ${PROTOC_GRPCPP_PLUGIN_EXECUTABLE})
-
- endif ()
---
-2.16.4
-
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
deleted file mode 100644
index 74a57711ed63..000000000000
--- a/net-libs/google-cloud-cpp/files/0002-cmake-set-library-soversions.patch
+++ /dev/null
@@ -1,130 +0,0 @@
-From b1d6f58033be92661f91b221b878e333eb02fd7f Mon Sep 17 00:00:00 2001
-From: Jason Zaman <jason@perfinion.com>
-Date: Fri, 7 Sep 2018 22:35:24 +0800
-Subject: [PATCH 2/2] cmake: set library soversions
-
-Set library soversions so CMake sets the symlinks and soversions
-properly. Install the cmake files in the correct dir.
-
-Signed-off-by: Jason Zaman <jason@perfinion.com>
----
- google/cloud/CMakeLists.txt | 7 +++++++
- google/cloud/bigtable/CMakeLists.txt | 14 ++++++++++++++
- google/cloud/firestore/CMakeLists.txt | 12 ++++++++++--
- google/cloud/storage/CMakeLists.txt | 9 ++++++++-
- 4 files changed, 39 insertions(+), 3 deletions(-)
-
-diff --git a/google/cloud/CMakeLists.txt b/google/cloud/CMakeLists.txt
-index 3f3f8742..442f4e17 100644
---- a/google/cloud/CMakeLists.txt
-+++ b/google/cloud/CMakeLists.txt
-@@ -98,6 +98,13 @@ target_include_directories(google_cloud_cpp_common
- $<INSTALL_INTERFACE:include>)
- target_compile_options(google_cloud_cpp_common
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG})
-+set_target_properties(
-+ google_cloud_cpp_common
-+ PROPERTIES
-+ VERSION
-+ ${GOOGLE_CLOUD_CPP_VERSION_MAJOR}.${GOOGLE_CLOUD_CPP_VERSION_MINOR}.${GOOGLE_CLOUD_CPP_VERSION_PATCH}
-+ SOVERSION
-+ ${GOOGLE_CLOUD_CPP_VERSION_MAJOR})
-
- include(CreateBazelConfig)
- create_bazel_config(google_cloud_cpp_common)
-diff --git a/google/cloud/bigtable/CMakeLists.txt b/google/cloud/bigtable/CMakeLists.txt
-index 9ed778eb..fd9c8797 100644
---- a/google/cloud/bigtable/CMakeLists.txt
-+++ b/google/cloud/bigtable/CMakeLists.txt
-@@ -102,6 +102,13 @@ target_include_directories(bigtable_protos
- $<INSTALL_INTERFACE:include>)
- target_compile_options(bigtable_protos
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG})
-+set_target_properties(
-+ bigtable_protos
-+ PROPERTIES
-+ VERSION
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR}.${BIGTABLE_CLIENT_VERSION_MINOR}.${BIGTABLE_CLIENT_VERSION_PATCH}
-+ SOVERSION
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR})
- add_library(bigtable::protos ALIAS bigtable_protos)
-
- # Enable unit tests
-@@ -206,6 +213,13 @@ target_include_directories(bigtable_client
- $<INSTALL_INTERFACE:include>)
- target_compile_options(bigtable_client
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG})
-+set_target_properties(
-+ bigtable_client
-+ PROPERTIES
-+ VERSION
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR}.${BIGTABLE_CLIENT_VERSION_MINOR}.${BIGTABLE_CLIENT_VERSION_PATCH}
-+ SOVERSION
-+ ${BIGTABLE_CLIENT_VERSION_MAJOR})
- add_library(bigtable::client ALIAS bigtable_client)
-
- include(CreateBazelConfig)
-diff --git a/google/cloud/firestore/CMakeLists.txt b/google/cloud/firestore/CMakeLists.txt
-index 88c5ad6d..c69e48fd 100644
---- a/google/cloud/firestore/CMakeLists.txt
-+++ b/google/cloud/firestore/CMakeLists.txt
-@@ -62,6 +62,13 @@ target_include_directories(firestore_client
- $<INSTALL_INTERFACE:include>)
- target_compile_options(firestore_client
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG})
-+set_target_properties(
-+ firestore_client
-+ PROPERTIES
-+ VERSION
-+ ${FIRESTORE_CLIENT_VERSION_MAJOR}.${FIRESTORE_CLIENT_VERSION_MINOR}.${FIRESTORE_CLIENT_VERSION_PATCH}
-+ SOVERSION
-+ ${FIRESTORE_CLIENT_VERSION_MAJOR})
- add_library(firestore::client ALIAS firestore_client)
-
- include(CreateBazelConfig)
-@@ -104,7 +111,8 @@ install(TARGETS
-
- # The exports can only be installed if all the dependencies are installed. CMake
- # needs to know where the submodules will be installed from,
--install(EXPORT firestore-targets DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/cmake)
-+install(EXPORT firestore-targets
-+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/firestore_client")
-
- install(TARGETS firestore_client
- EXPORT firestore-targets
-@@ -142,4 +150,4 @@ install(
- FILES "${CMAKE_CURRENT_BINARY_DIR}/firestore_client-config.cmake"
- "${CMAKE_CURRENT_BINARY_DIR}/firestore_client-config-version.cmake"
- DESTINATION
-- ${CMAKE_INSTALL_DATAROOTDIR}/cmake)
-+ "${CMAKE_INSTALL_LIBDIR}/cmake/firestore_client")
-diff --git a/google/cloud/storage/CMakeLists.txt b/google/cloud/storage/CMakeLists.txt
-index cef3954b..912391cc 100644
---- a/google/cloud/storage/CMakeLists.txt
-+++ b/google/cloud/storage/CMakeLists.txt
-@@ -205,6 +205,13 @@ target_include_directories(storage_client
- $<INSTALL_INTERFACE:include>)
- target_compile_options(storage_client
- PUBLIC ${GOOGLE_CLOUD_CPP_EXCEPTIONS_FLAG})
-+set_target_properties(
-+ storage_client
-+ PROPERTIES
-+ VERSION
-+ ${STORAGE_CLIENT_VERSION_MAJOR}.${STORAGE_CLIENT_VERSION_MINOR}.${STORAGE_CLIENT_VERSION_PATCH}
-+ SOVERSION
-+ ${STORAGE_CLIENT_VERSION_MAJOR})
-
- add_library(storage_client_testing
- testing/canonical_errors.h
-@@ -315,7 +322,7 @@ install(TARGETS storage_client
- RUNTIME DESTINATION bin
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
--install(DIRECTORY . DESTINATION include/storage/client
-+install(DIRECTORY . DESTINATION include/google/cloud/storage/client
- FILES_MATCHING
- PATTERN "*.h"
- PATTERN "testing/*"
---
-2.16.4
-
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
deleted file mode 100644
index a5579909e8ab..000000000000
--- a/net-libs/google-cloud-cpp/files/google-cloud-cpp-0.5.0-openssl.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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
---- google-cloud-cpp-0.5.0.orig/google/cloud/storage/CMakeLists.txt 2019-01-30 14:01:05.657031402 +0800
-+++ google-cloud-cpp-0.5.0/google/cloud/storage/CMakeLists.txt 2019-01-30 14:01:19.969968164 +0800
-@@ -215,9 +215,6 @@
- Crc32c::crc32c
- CURL::CURL
- Threads::Threads
-- OpenSSL::SSL
-- OpenSSL::Crypto
-- ZLIB::ZLIB
- PRIVATE storage_common_options)
- target_include_directories(storage_client
- PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r1.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild
index b1fb2095c0c3..b441242910a4 100644
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r1.ebuild
+++ b/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0-r2.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit cmake-utils
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake
JSON_VER="3.4.0"
GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97"
@@ -36,11 +37,11 @@ PATCHES=(
src_configure() {
local mycmakeargs=(
-DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package
- -DBUILD_SHARED_LIBS=ON
-DBUILD_TESTING=OFF
+ -DCMAKE_CXX_STANDARD=17
)
- cmake-utils_src_configure
+ cmake_src_configure
mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die
cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die
@@ -56,5 +57,5 @@ src_test() {
-E internal_parse_rfc3339_test
)
- cmake-utils_src_test
+ cmake_src_test
}
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
deleted file mode 100644
index fe66dc867def..000000000000
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.2.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-JSON_VER="3.1.2"
-GOOGLEAPIS_COMMIT="79ab27f3b70ebc221e265d2e8ab30a8cc2d21fa2"
-
-DESCRIPTION="Google Cloud Client Library for C++"
-HOMEPAGE="https://cloud.google.com/"
-SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp
- https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-libs/protobuf:=
- net-misc/curl
- net-libs/grpc"
-DEPEND="${RDEPEND}
- dev-cpp/gtest"
-
-DOCS=( README.md )
-PATCHES=(
- "${FILESDIR}/0001-Make-the-install-target-work.patch"
- "${FILESDIR}/0001-cmake-Fix-GOOGLE_CLOUD_CPP_GRPC_PROVIDER-pkg-config.patch"
- "${FILESDIR}/0002-cmake-set-library-soversions.patch"
-)
-
-src_prepare() {
- rm -rf "${S}/third_party/googleapis/" || die
- mv "${WORKDIR}/googleapis-${GOOGLEAPIS_COMMIT}/" "${S}/third_party/googleapis/" || die
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGOOGLE_CLOUD_CPP_GMOCK_PROVIDER=package
- -DGOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config
- -DBUILD_SHARED_LIBS=ON
- )
-
- cmake-utils_src_configure
-
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die
-}
-
-src_test() {
- # test fails
- local myctestargs=(
- -E internal_parse_rfc3339_test
- )
-
- cmake-utils_src_test
-}
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
deleted file mode 100644
index 4e651cbb6b25..000000000000
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-JSON_VER="3.4.0"
-GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97"
-
-DESCRIPTION="Google Cloud Client Library for C++"
-HOMEPAGE="https://cloud.google.com/"
-SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp
- https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="test"
-RDEPEND="dev-cpp/gtest
- dev-libs/protobuf:=
- dev-libs/crc32c
- net-misc/curl
- net-libs/grpc"
-DEPEND="${RDEPEND}"
-
-DOCS=( README.md )
-PATCHES=(
- "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch"
-)
-
-src_prepare() {
- rm -rf "${S}/third_party/googleapis/" || die
- mv "${WORKDIR}/googleapis-${GOOGLEAPIS_COMMIT}/" "${S}/third_party/googleapis/" || die
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGOOGLE_CLOUD_CPP_CRC32C_PROVIDER=package
- -DGOOGLE_CLOUD_CPP_CURL_PROVIDER=package
- -DGOOGLE_CLOUD_CPP_GMOCK_PROVIDER=package
- -DGOOGLE_CLOUD_CPP_GRPC_PROVIDER=pkg-config
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_TESTING=OFF
- )
-
- cmake-utils_src_configure
-
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die
-}
-
-src_test() {
- # test fails
- local myctestargs=(
- -E internal_parse_rfc3339_test
- )
-
- cmake-utils_src_test
-}
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
deleted file mode 100644
index 0575f7a04ab0..000000000000
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.9.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-JSON_VER="3.4.0"
-GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97"
-
-DESCRIPTION="Google Cloud Client Library for C++"
-HOMEPAGE="https://cloud.google.com/"
-SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp
- https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RESTRICT="test"
-RDEPEND="dev-libs/protobuf:=
- dev-libs/crc32c
- net-misc/curl
- net-libs/grpc:="
-DEPEND="${RDEPEND}
- dev-cpp/gtest"
-
-DOCS=( README.md )
-PATCHES=(
- "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch"
- "${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_TESTING=OFF
- )
-
- cmake-utils_src_configure
-
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die
-
- mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die
- cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \
- "${BUILD_DIR}/external/googleapis/src/${GOOGLEAPIS_COMMIT}.tar.gz" || die
-}
-
-src_test() {
- # test fails
- local myctestargs=(
- -E internal_parse_rfc3339_test
- )
-
- cmake-utils_src_test
-}
diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild
index 0575f7a04ab0..d0954a056cf3 100644
--- a/net-libs/google-cloud-cpp/google-cloud-cpp-0.10.0.ebuild
+++ b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild
@@ -1,49 +1,51 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit cmake-utils
+inherit cmake
-JSON_VER="3.4.0"
-GOOGLEAPIS_COMMIT="6a3277c0656219174ff7c345f31fb20a90b30b97"
+# From cmake/GoogleapisConfig.cmake
+GOOGLEAPIS_COMMIT="28c6bb97cac6f16c69879be4e655674a74b886ef"
DESCRIPTION="Google Cloud Client Library for C++"
HOMEPAGE="https://cloud.google.com/"
SRC_URI="https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/nlohmann/json/releases/download/v${JSON_VER}/json.hpp -> nlohmann-json-${JSON_VER}-json.hpp
https://github.com/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
+# Tests need a GCP account
RESTRICT="test"
-RDEPEND="dev-libs/protobuf:=
+RDEPEND="dev-cpp/abseil-cpp:=
+ dev-cpp/nlohmann_json
+ dev-libs/protobuf:=
dev-libs/crc32c
+ dev-libs/openssl:=
+ dev-libs/re2:=
net-misc/curl
- net-libs/grpc:="
+ net-libs/grpc:=
+ sys-libs/zlib"
DEPEND="${RDEPEND}
- dev-cpp/gtest"
+ dev-cpp/gtest
+ test? (
+ dev-cpp/benchmark
+ )"
DOCS=( README.md )
-PATCHES=(
- "${FILESDIR}/google-cloud-cpp-0.5.0-openssl.patch"
- "${FILESDIR}/google-cloud-cpp-0.9.0-offline_nlohmannjson.patch"
-)
src_configure() {
local mycmakeargs=(
- -DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package
- -DBUILD_SHARED_LIBS=ON
- -DBUILD_TESTING=OFF
+ -DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF
+ -DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF
+ -DBUILD_TESTING=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
)
- cmake-utils_src_configure
-
- mkdir -p "${BUILD_DIR}/external/nlohmann_json/src/" || die
- cp "${DISTDIR}/nlohmann-json-${JSON_VER}-json.hpp" "${BUILD_DIR}/external/nlohmann_json/src/json.hpp" || die
+ cmake_src_configure
mkdir -p "${BUILD_DIR}/external/googleapis/src/" || die
cp "${DISTDIR}/googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" \
@@ -56,5 +58,5 @@ src_test() {
-E internal_parse_rfc3339_test
)
- cmake-utils_src_test
+ cmake_src_test
}