summaryrefslogtreecommitdiff
path: root/net-libs/google-cloud-cpp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-18 03:03:03 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-18 03:03:03 +0000
commitf9f6fa91738181ebe9aca71b75d157d8b5df5335 (patch)
tree556cf671790196d83709b89133064a855f1879f2 /net-libs/google-cloud-cpp
parent3455c0a5153ae27d7c6c16ecd35fa3dec33f3dda (diff)
gentoo auto-resync : 18:11:2024 - 03:03:03
Diffstat (limited to 'net-libs/google-cloud-cpp')
-rw-r--r--net-libs/google-cloud-cpp/Manifest3
-rw-r--r--net-libs/google-cloud-cpp/google-cloud-cpp-2.30.0.ebuild57
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/google-cloud-cpp/Manifest b/net-libs/google-cloud-cpp/Manifest
index 53dd3e6c2f24..31cbb367f507 100644
--- a/net-libs/google-cloud-cpp/Manifest
+++ b/net-libs/google-cloud-cpp/Manifest
@@ -1,4 +1,7 @@
DIST google-cloud-cpp-2.19.0.tar.gz 12289079 BLAKE2B 915acacdc8e757e95244c715b74618e34ae3a22ea39bd0ae3e628dcd07f0dc99a2baaa11f4f69b9d2134ffc10af9e9437cf8862eff19a720ff415e0b1b15e6b8 SHA512 a392da19ac353409ecbf30e390803b2e34670552fd54466a08ee554a77c893d447289b30d5841c7f79b2a23244a269d8ecac8f7fbd8a34dda45ce2d8b1d46817
+DIST google-cloud-cpp-2.30.0.tar.gz 14790871 BLAKE2B bc2dfc419317bb812a92923d6cdc5f185d2897f29c768a99f95f3c9f7effe527ab04f787f0dc870c0e4fdb1482060936a2e433d849ee36cfc27ce9820b908aa0 SHA512 9020e5f762285df163b91ac8cea3198d5744a772374237959896a5e5837010de87b8f637b13ac96effde2053217bb91e1275ab9a0e27bf946e0189b2289b29ef
DIST googleapis-0e3b813b0d0da539eacbe86b8716feeed00943c5.tar.gz 7914422 BLAKE2B 05dfb0523a4208c84d51e99bb3edd531b1d4069971fb6810ab2c31b7bc1b14824be9a4c5d0e176ad741d1b902242702be7f125595d22dd5a6d75d0a9e8790ed8 SHA512 56a9fd1ff464f33d80dcce1bfc927e4332fe2e986f731b3f8ceb583265a2b23a659273dc6777a100d563ed972672353f8fd0292f894c42b4142bb5d7882f8ef6
+DIST googleapis-69e9dff10df4fa1e338712d38dc26b46791a6e94.tar.gz 8807423 BLAKE2B 3818be748f08f0e8319aad8dcfabc618a623956199ce86a194da57f8ea7fc4f6c6f61efe007cb7d1a824c038bd329f9afc8662ee17c1aa7e1112aedbcc4464ea SHA512 6b7cf1b45ee1ee1ad61ab7a1f776afc8f3e6a441b93739aac7b9220dce3a5cfcfa2d04c9700be324eed1ec72e5e7ca52bbf4509d7daead90e55da56a373e9091
EBUILD google-cloud-cpp-2.19.0.ebuild 1433 BLAKE2B eb246c8915994d3d2c9e2aa9badb4c5aa3ff6d9eeeecb48d74083da8bf67507a75f71f1b050537a52752385319b387b4d6f97369e1d9456481bb87f7c395f513 SHA512 618caad34db506064d06ef4ae1ec57fb59a005ee706269683a3d07c58dafeb17b6e1a8d6c7e15d193d3e850765b6ad3ee9d6ab073e6dd1236816d172db8102ca
+EBUILD google-cloud-cpp-2.30.0.ebuild 1433 BLAKE2B af7789194e21ae890536200d559f494a0c56868be674e8869f737707dbc81faa856379d1d7c18416175297aaf4db0d09cb4ce3082f3c1f0d27ce82233d32747c SHA512 83334c4d75c59e83fb255433c376b54e573576545318a46a9b05bc0324c8414965bb9c6cee27773cef43af81be44c192a749165f4db11fd91bf94c969d9b920c
MISC metadata.xml 349 BLAKE2B d7c6fa69328ca31edb61e77701132c5e0a1c0eaa7b6cbcf7e65620b56933eff5f893c332e279d76b2b0096e4f55fd5099542cd746f56d9d11e238668c1377878 SHA512 dddd2bcd06fcd7b1984db18a4fabb6e17643f67b62659b8543a37f61270fd9bc5338fa21ff90bcfc3a35ca96fde9095cc7cefeb21ffd0769b44d696aab3e62bf
diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-2.30.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-2.30.0.ebuild
new file mode 100644
index 000000000000..b36c5e9c47e3
--- /dev/null
+++ b/net-libs/google-cloud-cpp/google-cloud-cpp-2.30.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# From cmake/GoogleapisConfig.cmake
+GOOGLEAPIS_COMMIT="69e9dff10df4fa1e338712d38dc26b46791a6e94"
+
+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/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+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:=
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ dev-cpp/gtest
+ test? (
+ dev-cpp/benchmark
+ )"
+
+DOCS=( README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DGOOGLE_CLOUD_CPP_ENABLE_WERROR=OFF
+ -DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF
+ -DBUILD_TESTING=$(usex test)
+ -DCMAKE_CXX_STANDARD=17
+ )
+
+ cmake_src_configure
+
+ 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() {
+ # ClogEnvironment fails under portage sandbox, no fail outside
+ cmake_src_test -LE "integration-test" -E common_log_test
+}