[kcp] update to 1.7 (#20612)

* [kcp] update to 1.7

* update version

* change version-string to version

* update version
This commit is contained in:
JonLiu1993 2021-10-12 11:14:06 +08:00 committed by GitHub
parent 728c0d4ccb
commit d444c7886a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 14 deletions

View File

@ -3,23 +3,22 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skywind3000/kcp
REF 4c58607c917c2a82bf116489c3eb89e4e9aa696d
SHA512 6689d6c2393eb96bba276de90aec584dae9da0dad5c7bd15519bc61de16de9123e19a945a9e29c5b5cc88bf844ebfb9681b27eb425e3a59a354f13488516cdcc
REF 38e0c9366e4a72c749ff0bcdf911d1fe9bdfe9f5
SHA512 1a05a692719f7f7bfa2e20df81c68af991bd01fe7236ab637a10644abfed425b9f46fd9ad399b8edca152d7bb617c37533b183bda2cf4a0cc1c3ce47031ba37f
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

View File

@ -1,7 +1,16 @@
{
"name": "kcp",
"version-string": "2019-09-20",
"port-version": 1,
"version": "1.7",
"description": "A fast and reliable ARQ protocol",
"homepage": "https://github.com/skywind3000/kcp"
"homepage": "https://github.com/skywind3000/kcp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2957,8 +2957,8 @@
"port-version": 1
},
"kcp": {
"baseline": "2019-09-20",
"port-version": 1
"baseline": "1.7",
"port-version": 0
},
"kd-soap": {
"baseline": "1.9.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "207f189653fe92e80478cf69c7f115758b1eafe9",
"version": "1.7",
"port-version": 0
},
{
"git-tree": "9f3475cb5c05e93e3309e51cb104653bab486eb4",
"version-string": "2019-09-20",