[kcp] update to 1.7.1 (#51519)

This commit is contained in:
toge 2026-05-04 14:15:34 +09:00 committed by GitHub
parent 4a53759aff
commit cf9b6f1a47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 31 additions and 26 deletions

View File

@ -1,24 +1,24 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skywind3000/kcp
REF 38e0c9366e4a72c749ff0bcdf911d1fe9bdfe9f5
SHA512 1a05a692719f7f7bfa2e20df81c68af991bd01fe7236ab637a10644abfed425b9f46fd9ad399b8edca152d7bb617c37533b183bda2cf4a0cc1c3ce47031ba37f
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Handle copyright
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skywind3000/kcp
REF 8004f7eba5d1bf33f0691eef5f887f2cd3140cb5
SHA512 5170c1febc09482e1d032cf5aac5bd5cce706e19b58c6a7eddd1c0082895d8b932f5bdf04d47af1994408c4e8cfc37652e11c7d3f7e5addac88afc42764b06cf
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Handle copyright
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

View File

@ -1,6 +1,6 @@
{
"name": "kcp",
"version": "1.7",
"version": "1.7.1",
"description": "A fast and reliable ARQ protocol",
"homepage": "https://github.com/skywind3000/kcp",
"dependencies": [

View File

@ -4229,7 +4229,7 @@
"port-version": 1
},
"kcp": {
"baseline": "1.7",
"baseline": "1.7.1",
"port-version": 0
},
"kcrash": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "88de0a17818f50a2584025efb6914ce257b2912c",
"version": "1.7.1",
"port-version": 0
},
{
"git-tree": "207f189653fe92e80478cf69c7f115758b1eafe9",
"version": "1.7",