diff options
| author | Carlos O'Ryan <coryan@users.noreply.github.com> | 2020-06-03 01:46:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-02 22:46:06 -0700 |
| commit | 0dbc334ef55db4348b870bd3db12a0b4b7d96df8 (patch) | |
| tree | 7ba78fde946cb62745d9825b9770e490855937a1 /ports/googleapis | |
| parent | 0243e00c53652d353ffd2a5fece01193a290254b (diff) | |
| download | vcpkg-0dbc334ef55db4348b870bd3db12a0b4b7d96df8.tar.gz vcpkg-0dbc334ef55db4348b870bd3db12a0b4b7d96df8.zip | |
[google-cloud-cpp] Consolidate all google-cloud* packages (#11698)
* [google-cloud-cpp] Consolidate all google-cloud* packages
Starting with the v1.14.0 release all google-cloud* packages and the
googleapis package are kept in a single repository and released
simultaneously.
* Update CI baseline.
google-cloud-cpp used to inherit failures from googleapis, which
indicates these are (probably) problems in the generated protobuf/grpc
code.
Diffstat (limited to 'ports/googleapis')
| -rw-r--r-- | ports/googleapis/CONTROL | 8 | ||||
| -rw-r--r-- | ports/googleapis/portfile.cmake | 29 |
2 files changed, 4 insertions, 33 deletions
diff --git a/ports/googleapis/CONTROL b/ports/googleapis/CONTROL index c96f5b6e5..08a9ee113 100644 --- a/ports/googleapis/CONTROL +++ b/ports/googleapis/CONTROL @@ -1,6 +1,4 @@ Source: googleapis -Version: 0.9.0 -Build-Depends: grpc, protobuf -Description: C++ Proto Libraries for Google APIs. -Homepage: https://github.com/googleapis/cpp-cmakefiles -Supports: !uwp +Version: alias +Build-Depends: google-cloud-cpp +Description: Deprecated, use google-cloud-cpp instead. diff --git a/ports/googleapis/portfile.cmake b/ports/googleapis/portfile.cmake index 4693479ac..065116c27 100644 --- a/ports/googleapis/portfile.cmake +++ b/ports/googleapis/portfile.cmake @@ -1,28 +1 @@ -vcpkg_fail_port_install(ON_TARGET "uwp") - -vcpkg_check_linkage(ONLY_STATIC_LIBRARY) - -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO googleapis/cpp-cmakefiles - REF v0.9.0 - SHA512 74791d0ae2fcac0a1acdc255e65f7ca46de8b5129f5b9b066efd0d83c5b3bf61e41b9c3ec6924cfbfb77e5496fa9e2db113f8d17dcc0740058bb19f4d1115f18 - HEAD_REF master -) - -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA -) - -vcpkg_install_cmake(ADD_BIN_TO_PATH) - -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake TARGET_PATH share) - -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) - -vcpkg_copy_pdbs() - -file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) +set(VCPKG_POLICY_EMPTY_PACKAGE enabled) |
