Skip to content

Commit

Permalink
devel/google-cloud-cpp117: New port: C++ Idiomatic Clients for Google…
Browse files Browse the repository at this point in the history
… Cloud Platform services (frozen at version 1.17.0 to support science/py-tensorflow)

PR:		257053
  • Loading branch information
Amzo authored and yurivict committed Jul 9, 2021
1 parent d8c63fd commit 0acc413
Show file tree
Hide file tree
Showing 5 changed files with 694 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@
SUBDIR += golangci-lint
SUBDIR += golint
SUBDIR += google-cloud-cpp
SUBDIR += google-cloud-cpp117
SUBDIR += google-gdata
SUBDIR += google-perftools
SUBDIR += google-styleguide
Expand Down
47 changes: 47 additions & 0 deletions devel/google-cloud-cpp117/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
PORTNAME= google-cloud-cpp
DISTVERSIONPREFIX= v
DISTVERSION= 1.17.0
CATEGORIES= devel
PKGNAMESUFFIX= 117
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= amzo1337@gmail.com
COMMENT= C++ Idiomatic Clients for Google Cloud Platform services

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

NOT_FOR_ARCHS= i386 powerpc

BUILD_DEPENDS= grpc>=1.19.1:devel/grpc \
nlohmann-json>0:devel/nlohmann-json \
protobuf>=3.7.1:devel/protobuf
LIB_DEPENDS= libabsl_strings.so:devel/abseil \
libcares.so:dns/c-ares \
libcrc32c.so:devel/crc32c \
libcurl.so:ftp/curl \
libgrpc.so:devel/grpc \
libprotobuf.so:devel/protobuf \
libre2.so:devel/re2

USES= cmake compiler:c++17-lang pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= GoogleCloudPlatform
GH_TUPLE= googleapis:googleapis:59f97e6044a1275f83427ab7962a154c00d915b5:googleapis
USE_LDCONFIG= yes

CMAKE_ARGS= -DGOOGLE_CLOUD_CPP_CXX_STANDARD=17 \
-DGOOGLE_CLOUD_CPP_DEPENDENCY_PROVIDER=package
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= BUILD_TESTING GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS

CFLAGS+= -I${BUILD_WRKSRC}/external/googleapis/src/googleapis_project-build
LDFLAGS+= -L${BUILD_WRKSRC}/external/googleapis/src/googleapis_project-build

post-extract:
@${MKDIR} ${BUILD_WRKSRC}/external/googleapis/src/
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_googleapis} \
${BUILD_WRKSRC}/external/googleapis/src/59f97e6044a1275f83427ab7962a154c00d915b5.tar.gz

.include <bsd.port.mk>
5 changes: 5 additions & 0 deletions devel/google-cloud-cpp117/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TIMESTAMP = 1625738376
SHA256 (google-cloud-cpp/GoogleCloudPlatform-google-cloud-cpp-v1.17.0_GH0.tar.gz) = 4663c9dd11839ac41972ec4332df3a159672035cc7d05d1106b24bf8a4a30db9
SIZE (google-cloud-cpp/GoogleCloudPlatform-google-cloud-cpp-v1.17.0_GH0.tar.gz) = 3368007
SHA256 (google-cloud-cpp/googleapis-googleapis-59f97e6044a1275f83427ab7962a154c00d915b5_GH0.tar.gz) = 5e785c25b1d57973e7481b4da226d7c73056ea22c7545bf6d14dbebf6e99b073
SIZE (google-cloud-cpp/googleapis-googleapis-59f97e6044a1275f83427ab7962a154c00d915b5_GH0.tar.gz) = 3075729
5 changes: 5 additions & 0 deletions devel/google-cloud-cpp117/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Google cloud C++ librariesC++ libraries for use with the Google
Cloud platform. Google Cloud Platform provides infrastructure as a
service, platform as a service, and serverless computing environments.

WWW: https://github.com/googleapis/google-cloud-cpp
Loading

0 comments on commit 0acc413

Please sign in to comment.