mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
net-libs/google-cloud-cpp: add 2.19.0
Closes: https://bugs.gentoo.org/913108 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/34140 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
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 google-cloud-cpp-2.19.0.tar.gz 12289079 BLAKE2B 915acacdc8e757e95244c715b74618e34ae3a22ea39bd0ae3e628dcd07f0dc99a2baaa11f4f69b9d2134ffc10af9e9437cf8862eff19a720ff415e0b1b15e6b8 SHA512 a392da19ac353409ecbf30e390803b2e34670552fd54466a08ee554a77c893d447289b30d5841c7f79b2a23244a269d8ecac8f7fbd8a34dda45ce2d8b1d46817
|
||||
DIST googleapis-0e3b813b0d0da539eacbe86b8716feeed00943c5.tar.gz 7914422 BLAKE2B 05dfb0523a4208c84d51e99bb3edd531b1d4069971fb6810ab2c31b7bc1b14824be9a4c5d0e176ad741d1b902242702be7f125595d22dd5a6d75d0a9e8790ed8 SHA512 56a9fd1ff464f33d80dcce1bfc927e4332fe2e986f731b3f8ceb583265a2b23a659273dc6777a100d563ed972672353f8fd0292f894c42b4142bb5d7882f8ef6
|
||||
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
|
||||
|
||||
56
net-libs/google-cloud-cpp/google-cloud-cpp-2.19.0.ebuild
Normal file
56
net-libs/google-cloud-cpp/google-cloud-cpp-2.19.0.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# 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="0e3b813b0d0da539eacbe86b8716feeed00943c5"
|
||||
|
||||
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"
|
||||
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() {
|
||||
cmake_src_test -LE "integration-test"
|
||||
}
|
||||
@@ -5,4 +5,7 @@
|
||||
<email>perfinion@gentoo.org</email>
|
||||
<name>Jason Zaman</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">GoogleCloudPlatform/google-cloud-cpp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user