diff options
author | Jason Zaman <perfinion@gentoo.org> | 2022-03-05 16:10:15 -0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2022-03-05 16:13:13 -0800 |
commit | e98d518fa9b44c73f44205b9f0764bc16bec5bd6 (patch) | |
tree | 349f4a349fa710eeacbd6d7bce810e3c4852fec9 /net-libs | |
parent | net-libs/stem: enable py3.10 for 1.8.0-r1 (diff) | |
download | gentoo-e98d518fa9b44c73f44205b9f0764bc16bec5bd6.tar.gz gentoo-e98d518fa9b44c73f44205b9f0764bc16bec5bd6.tar.bz2 gentoo-e98d518fa9b44c73f44205b9f0764bc16bec5bd6.zip |
net-libs/google-cloud-cpp: bump 1.36.0
Closes: https://bugs.gentoo.org/815904
Closes: https://bugs.gentoo.org/744661
Closes: https://bugs.gentoo.org/727786
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/google-cloud-cpp/Manifest | 2 | ||||
-rw-r--r-- | net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/net-libs/google-cloud-cpp/Manifest b/net-libs/google-cloud-cpp/Manifest index f2d6f4d5dccb..77a6384d7fc9 100644 --- a/net-libs/google-cloud-cpp/Manifest +++ b/net-libs/google-cloud-cpp/Manifest @@ -1,3 +1,5 @@ DIST google-cloud-cpp-0.10.0.tar.gz 2189161 BLAKE2B 1e599478db3f280cddc4232c7e6005c7b5a48b1f22aecc8a99dc60f461dad349d343b40e6545680e7b211ea40a07c9b069052c2a6e36cb7279e400cdebfa95a3 SHA512 9a1774dcc39d1626c8a9cf8630fe3b3110df7e21e452c7b137e1911d10b304997571aadff5fc0216715729db4a29621066a5236a0b2cb027bba4ce3c56492fb3 +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 nlohmann-json-3.4.0-json.hpp 705920 BLAKE2B 9a22a6420f818038d8c4b352fb92ff0f0041b76232ef8665686399d184cfc62caffb60b4ccf1d8d33ae428839a70fece959f94795d71803623405d041efc9a13 SHA512 a1bdb4b434ee34cbc360e0203f500b25e15d7e1a6d25ea6e3bd3b56a5e7ec47d8c0bbe074930b7a07d6ceaf2112eefa24da9c1f0595aaf12c88697048238166d diff --git a/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild new file mode 100644 index 000000000000..d0954a056cf3 --- /dev/null +++ b/net-libs/google-cloud-cpp/google-cloud-cpp-1.36.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +# 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/googleapis/googleapis/archive/${GOOGLEAPIS_COMMIT}.tar.gz -> googleapis-${GOOGLEAPIS_COMMIT}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# Tests need a GCP account +RESTRICT="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() { + # test fails + local myctestargs=( + -E internal_parse_rfc3339_test + ) + + cmake_src_test +} |