[asio-grpc] Update to 1.7.0 (#25093)

* Update asio-grpc to v1.7.0

* Remove dependency on vcpkg-cmake-config from asio-grpc

* Re-add vcpkg_cmake_config_fixup to asio-grpc port
This commit is contained in:
Dennis 2022-06-08 02:38:44 +02:00 committed by GitHub
parent 7d2449c346
commit e279491392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Tradias/asio-grpc
REF v1.6.0
SHA512 4ea06c09c869cb1752714f969366d794b67048b42bff0790543d3305ce656238a4dadd06dfff1c2229add8a0ff730f30c70d944681979e3e983d4ec1d3ce3208
REF v1.7.0
SHA512 2a9c583678026e1eed4b2128ecf7bb18dff9a39e26de9a29f035cd7c6c838edc5d95015319407d493b09fd650de8b1b7b0bed1b92ba88d40f69d806adf6a0af1
HEAD_REF master
)
@ -15,13 +15,14 @@ vcpkg_check_features(
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS ${FEATURE_OPTIONS}
-DASIO_GRPC_CMAKE_CONFIG_INSTALL_DIR=share/asio-grpc
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/asio-grpc)
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,6 @@
{
"name": "asio-grpc",
"version": "1.6.0",
"version": "1.7.0",
"description": "Asynchronous gRPC with Asio/unified executors",
"homepage": "https://github.com/Tradias/asio-grpc",
"license": "Apache-2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3f73fa275b5f4d19d244b7212b8c7ae61135fc95",
"version": "1.7.0",
"port-version": 0
},
{
"git-tree": "6decc4befbc311b08e2229bf58da567d8a86561c",
"version": "1.6.0",

View File

@ -185,7 +185,7 @@
"port-version": 0
},
"asio-grpc": {
"baseline": "1.6.0",
"baseline": "1.7.0",
"port-version": 0
},
"asiosdk": {