diff options
| author | Ryan <ryan__mckenzie@hotmail.com> | 2021-10-04 17:20:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-04 17:20:02 -0700 |
| commit | b6b6a8b63007df2ff37167a1974652a8e948f045 (patch) | |
| tree | ed3e6e98c8d080576172990ca93f7f99e22b2860 /ports | |
| parent | 3799a5f722f10e21d4bc62397a4c7d41910d9501 (diff) | |
| download | vcpkg-b6b6a8b63007df2ff37167a1974652a8e948f045.tar.gz vcpkg-b6b6a8b63007df2ff37167a1974652a8e948f045.zip | |
[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>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/reproc/portfile.cmake | 26 | ||||
| -rw-r--r-- | ports/reproc/vcpkg.json | 16 |
2 files changed, 26 insertions, 16 deletions
diff --git a/ports/reproc/portfile.cmake b/ports/reproc/portfile.cmake index 8d6c03706..0a64711af 100644 --- a/ports/reproc/portfile.cmake +++ b/ports/reproc/portfile.cmake @@ -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 ) diff --git a/ports/reproc/vcpkg.json b/ports/reproc/vcpkg.json index bf51252e3..b0530b3e7 100644 --- a/ports/reproc/vcpkg.json +++ b/ports/reproc/vcpkg.json @@ -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 + } + ] } |
