[oniguruma] update to 6.9.9 (#41527)

This commit is contained in:
Jia Yue Hua 2024-10-22 06:33:18 +08:00 committed by GitHub
parent 7f74e01712
commit 249388493a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 28 additions and 13 deletions

View File

@ -1,10 +1,11 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO kkos/oniguruma REPO kkos/oniguruma
REF v6.9.7.1 REF "v${VERSION}"
SHA512 CE22050E04E51843E894D2D534D062FDD23CC2BAAC9BA43DA1843EC928F6CE5ED3D4407FE945F4D34ADADF3167DFD943CD81AE4556F7C5EC51E7331C35EAD479 SHA512 7c89247d8504c635687dc61b39b39b5afefa4851b24409a8eab31273f1cbc88f3db89095ae4b135bd034147d2616c2e18fc74887300b89532eedeab75677f437
HEAD_REF master HEAD_REF master
PATCHES fix-uwp.patch PATCHES
fix-uwp.patch
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@ -31,10 +32,14 @@ vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}") vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
file(REMOVE_RECURSE vcpkg_fixup_pkgconfig()
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share" # Note that onig-config is a shell script, not CMake configs, so
) # vcpkg_cmake_config_fixup would be inappropriate
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/onig-config")
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/bin/onig-config")
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/onig-config")
endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic) if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/oniguruma.h" vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/oniguruma.h"
@ -51,4 +56,10 @@ endif()
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_fixup_pkgconfig() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share/")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include/")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR NOT VCPKG_TARGET_IS_WINDOWS)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

View File

@ -1,7 +1,6 @@
{ {
"name": "oniguruma", "name": "oniguruma",
"version": "6.9.7.1", "version": "6.9.9",
"port-version": 1,
"description": "Modern and flexible regular expressions library", "description": "Modern and flexible regular expressions library",
"homepage": "https://github.com/kkos/oniguruma", "homepage": "https://github.com/kkos/oniguruma",
"dependencies": [ "dependencies": [

View File

@ -6533,8 +6533,8 @@
"port-version": 1 "port-version": 1
}, },
"oniguruma": { "oniguruma": {
"baseline": "6.9.7.1", "baseline": "6.9.9",
"port-version": 1 "port-version": 0
}, },
"onnx": { "onnx": {
"baseline": "1.16.2", "baseline": "1.16.2",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "40c77d00a3c02948a2c252bcb75fed36bcd1a0c5",
"version": "6.9.9",
"port-version": 0
},
{ {
"git-tree": "107a3e6619a149a76b52ef9c9f4dbb1b7343a456", "git-tree": "107a3e6619a149a76b52ef9c9f4dbb1b7343a456",
"version": "6.9.7.1", "version": "6.9.7.1",