[reproc] Update port to 14.2.3 (#20456)

* update to 14.2.3

* remove trailing whitespace

* update HEAD_REF

* update deprecated functions

* quote paths

* update versioning

* update baseline

* update versioning

* Use version rather than version-string.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Ryan 2021-10-04 17:20:02 -07:00 committed by GitHub
parent 3799a5f722
commit b6b6a8b630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 20 deletions

View File

@ -1,33 +1,33 @@
vcpkg_fail_port_install(ON_TARGET "UWP")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO DaanDeMeyer/reproc
REF 8f70f97af263dd3f41bdc07f6f04e92436b1b55a # v14.2.1
SHA512 98bc8cb8aac5da83407ce23911b97840180d0d6f0321ac68ab035717ab84dcf312f886477cd393e0ac322993a3d1acaa3bfdabb4fe8131916df53658d5a59adf
HEAD_REF master
REF v14.2.3
SHA512 acb3a0b90aca7bcfd1b0882b7094ba0f2f8dd8aa4a7c4a37d37780cebb23ef3c8842ca9a9aded337f607d832a95eed5cc7ccc120c64daef9a979a9d20aa07aad
HEAD_REF main
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DREPROC++=ON
-DREPROC_INSTALL_PKGCONFIG=OFF
-DREPROC_INSTALL_CMAKECONFIGDIR=share
)
vcpkg_install_cmake()
vcpkg_cmake_install()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
foreach(TARGET reproc reproc++)
vcpkg_fixup_cmake_targets(
CONFIG_PATH share/${TARGET}
TARGET_PATH share/${TARGET}
vcpkg_cmake_config_fixup(
PACKAGE_NAME ${TARGET}
)
endforeach()
file(
INSTALL ${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)

View File

@ -1,7 +1,17 @@
{
"name": "reproc",
"version-string": "14.2.1",
"port-version": 1,
"version": "14.2.3",
"description": "Cross-platform (C99/C++11) process library",
"homepage": "https://github.com/DaanDeMeyer/reproc"
"homepage": "https://github.com/DaanDeMeyer/reproc",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1326,8 +1326,6 @@ realsense2:arm-uwp=fail
realsense2:x64-uwp=fail
replxx:arm-uwp=fail
replxx:x64-uwp=fail
reproc:arm-uwp=fail
reproc:x64-uwp=fail
restbed:arm-uwp=fail
restbed:x64-uwp=fail
# file conflicts with msgpack

View File

@ -5825,8 +5825,8 @@
"port-version": 3
},
"reproc": {
"baseline": "14.2.1",
"port-version": 1
"baseline": "14.2.3",
"port-version": 0
},
"rest-rpc": {
"baseline": "0.07",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9f27a66507c39df365532d526313c247211aaa1d",
"version": "14.2.3",
"port-version": 0
},
{
"git-tree": "3173c9bf7aca150b6b7859a4c055ac778c157f58",
"version-string": "14.2.1",