[libzen] Update to 0.4.39 (#20405)

* [libzen] Update to 0.4.39

* Fix up the package name
This commit is contained in:
Phoebe 2021-12-09 18:06:35 -08:00 committed by GitHub
parent 34a73b5010
commit 371f47d170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 16 deletions

View File

@ -5,21 +5,20 @@ endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO MediaArea/ZenLib
REF v0.4.38
SHA512 92c3fc3994bd7110021adbfa3ce48ed6e80f162946b912e9e06ed58edc224600e56e3aab3203ad3fa8759dab9790cb5536475f070f0c060b00585911a6cc0661
REF 13b9d3dbd2088390fbdccab32ae4560526389fbc # v0.4.39
SHA512 ec63af7ea60be2548d45702518a9b638b4f424044ecaebfbca97d9872b3ecafddc9c59aed4a5bae7bd5bbdffbd543c4ed9e106e5c406ec576a9c0970f0aadcac
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/Project/CMake
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/Project/CMake"
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/zenlib TARGET_PATH share/zenlib)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME zenlib CONFIG_PATH share/zenlib)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/libzen RENAME copyright)
file(INSTALL "${SOURCE_PATH}/License.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,15 @@
{
"name": "libzen",
"version-string": "0.4.38",
"port-version": 1,
"description": "ZenLib is a C++ utility library for easiest cross-platform development"
"version": "0.4.39",
"description": "ZenLib is a C++ utility library for easiest cross-platform development",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4101,8 +4101,8 @@
"port-version": 1
},
"libzen": {
"baseline": "0.4.38",
"port-version": 1
"baseline": "0.4.39",
"port-version": 0
},
"libzip": {
"baseline": "1.8.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "613111ba5e30b7f36fab5f147a4ae10180d8bebf",
"version": "0.4.39",
"port-version": 0
},
{
"git-tree": "f1c1cb55badf91c09b70e7480ff5c763518f1f51",
"version-string": "0.4.38",