[uvw] update to <2.12.1> (#24772)

* [uvw] update to <2.12.1>

* update version

* overwrite version

* No absolute path

* update version
This commit is contained in:
Frank 2022-05-18 17:29:06 +08:00 committed by GitHub
parent 70f8e23bfe
commit ab555695dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 17 deletions

View File

@ -2,22 +2,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO skypjack/uvw
REF 77af4a3fc4d932a52652807506fc50d0e58e875c # v2.7.0_libuv_v1.39
SHA512 b9ee4a60928fbcea84a9c551ce4d97095db68352546054116ecc8303eaeb46aecaef15ca2e5d3ebd14d8292be798fdea50b353ffdc727faa43c23cfd314ea407
REF 3db9e8f75a4351325e1ea00e17586af2b00cf1ea # v2.12.1_libuv_v1.44
SHA512 35e799fe877abc26ae44d20c9b5b292497d1468d9f89c0fc19b96a0b0712e35084480100e2fe7324353e2c3805c2f018e89192357d974bfd009af9b58bfcb7ec
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets()
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/uvw-config.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/uvw/)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/uvw-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/uvw/")
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
# Handle copyright/readme/package files
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/uvw RENAME copyright)
file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/uvw)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(INSTALL "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@ -1,10 +1,18 @@
{
"name": "uvw",
"version-string": "2.7.0",
"port-version": 1,
"version": "2.12.1",
"description": "Header-only, event based, tiny and easy to use libuv wrapper in modern C++.",
"homepage": "https://github.com/skypjack/uvw",
"license": "MIT",
"dependencies": [
"libuv"
"libuv",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -7293,8 +7293,8 @@
"port-version": 0
},
"uvw": {
"baseline": "2.7.0",
"port-version": 1
"baseline": "2.12.1",
"port-version": 0
},
"uwebsockets": {
"baseline": "20.11.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "eac81a2d74241ded58a1c503d91f226f86ca09c6",
"version": "2.12.1",
"port-version": 0
},
{
"git-tree": "fc9230cd12ff7d556e700053798f20e07283954d",
"version-string": "2.7.0",