From 7fdfe9eaf7cd72a4db31bce6d6a4aa4b8b435586 Mon Sep 17 00:00:00 2001 From: Maxime Gervais Date: Mon, 11 May 2020 23:44:02 +0200 Subject: [PATCH] [libzen] Update to 0.4.38 (#11237) * remove patch (merged upstream) * update baseline (UWP support added) --- ports/libzen/CONTROL | 2 +- ports/libzen/portfile.cmake | 6 ++-- .../libzen/vcpkg_support_in_cmakelists.patch | 31 ------------------- scripts/ci.baseline.txt | 2 -- 4 files changed, 3 insertions(+), 38 deletions(-) delete mode 100644 ports/libzen/vcpkg_support_in_cmakelists.patch diff --git a/ports/libzen/CONTROL b/ports/libzen/CONTROL index aca3ff287d..7470be2bd2 100644 --- a/ports/libzen/CONTROL +++ b/ports/libzen/CONTROL @@ -1,3 +1,3 @@ Source: libzen -Version: 0.4.37 +Version: 0.4.38 Description: ZenLib is a C++ utility library for easiest cross-platform development diff --git a/ports/libzen/portfile.cmake b/ports/libzen/portfile.cmake index 52ad55ef60..1a9bf9b2a4 100644 --- a/ports/libzen/portfile.cmake +++ b/ports/libzen/portfile.cmake @@ -7,11 +7,9 @@ endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO MediaArea/ZenLib - REF v0.4.37 - SHA512 857091422d6425aeae59bf5a9dfedd72f5c9b4a18f29acf88842d812f2b470fc8b1b03a245af6b7d08d616dd5596a8905cc138daecee23dadea39ae4215f77d4 + REF v0.4.38 + SHA512 92c3fc3994bd7110021adbfa3ce48ed6e80f162946b912e9e06ed58edc224600e56e3aab3203ad3fa8759dab9790cb5536475f070f0c060b00585911a6cc0661 HEAD_REF master - - PATCHES vcpkg_support_in_cmakelists.patch ) vcpkg_configure_cmake( diff --git a/ports/libzen/vcpkg_support_in_cmakelists.patch b/ports/libzen/vcpkg_support_in_cmakelists.patch deleted file mode 100644 index fb2ce81f70..0000000000 --- a/ports/libzen/vcpkg_support_in_cmakelists.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/Project/CMake/CMakeLists.txt b/Project/CMake/CMakeLists.txt -index cb96dc8..8b05a25 100644 ---- a/Project/CMake/CMakeLists.txt -+++ b/Project/CMake/CMakeLists.txt -@@ -33,10 +33,12 @@ set(BIN_INSTALL_DIR "${CMAKE_INSTALL_FULL_BINDIR}" CACHE STRING "Directory where - set(LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}" CACHE STRING "Directory where library will install") - set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}" CACHE PATH "The directory the headers are installed in") - --if(NOT MSVC) -- set(ZenLib_CONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/zenlib") -+if(VCPKG_TARGET_TRIPLET) -+ set(ZenLib_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/zenlib") -+elseif(MSVC) -+ set(ZenLib_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/cmake") - else() -- set(ZenLib_CONFIG_INSTALL_DIR "cmake") -+ set(ZenLib_CONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/zenlib") - endif() - - set(ZenLib_HDRS -@@ -136,10 +138,6 @@ set_target_properties(zen PROPERTIES - PUBLIC_HEADER "${ZenLib_HDRS}" - ) - --if(MSVC) -- install(FILES $ DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS "Debug;RelWithDebInfo" OPTIONAL) --endif() -- - install(TARGETS zen EXPORT zen-export - PUBLIC_HEADER DESTINATION ${INCLUDE_INSTALL_DIR}/ZenLib - RUNTIME DESTINATION ${BIN_INSTALL_DIR} diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index 19588471bd..c2f1680ca1 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -989,8 +989,6 @@ libxslt:x64-osx=fail libxslt:x64-uwp=fail libyuv:arm-uwp=fail libyuv:x64-uwp=fail -libzen:arm-uwp=fail -libzen:x64-uwp=fail libzippp:x64-linux=ignore linenoise-ng:arm-uwp=fail linenoise-ng:x64-uwp=fail