Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libzippp] Update to libzippp 5.1-1.8.0 #24885

Merged
merged 1 commit into from
May 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions ports/libzippp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ctabin/libzippp
REF 0e907d7ef8de46822602cb7633a5bc6fc0cc36de #v5.0-1.8.0 with CXX std version c++11
SHA512 f91724b0225bddcaf705e7e1493ad415b534096cfe3636d50995245982984e7420148206f4e24d72e596d75eac570d7b512c5aa836eaf4a8951e27737bcee9eb
REF 4248d7bf200e00b637cbd394c2b2369891de4e30 #v5.1-1.8.0 with CXX std version c++11
SHA512 171010da61ab4893648ceef80009925e7b79294008de220fe132c42843cb939e454812c0e70de29dfb0318e6bf11c7924a31da52f7703c523ab95c68ba61051a
HEAD_REF master
PATCHES fix-find-lzma.patch
)
Expand All @@ -12,26 +12,25 @@ vcpkg_check_features(
FEATURES
encryption LIBZIPPP_ENABLE_ENCRYPTION)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
-DLIBZIPPP_BUILD_TESTS=OFF
OPTIONS_DEBUG
-DLIBZIPPP_INSTALL_HEADERS=OFF
)

vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()

if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_fixup_cmake_targets(CONFIG_PATH "cmake/libzippp")
vcpkg_cmake_config_fixup(CONFIG_PATH "cmake/libzippp")
else()
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/libzippp")
vcpkg_cmake_config_fixup(CONFIG_PATH "share/libzippp")
endif()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENCE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
11 changes: 9 additions & 2 deletions ports/libzippp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "libzippp",
"version-string": "5.0-1.8.0",
"port-version": 1,
"version": "5.1-1.8.0",
"description": "Simple basic C++ wrapper around the libzip library. It is meant to be a portable and easy-to-use library for ZIP handling",
"homepage": "https://github.com/ctabin/libzippp",
"dependencies": [
Expand All @@ -12,6 +11,14 @@
"bzip2"
]
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"features": {
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4229,8 +4229,8 @@
"port-version": 0
},
"libzippp": {
"baseline": "5.0-1.8.0",
"port-version": 1
"baseline": "5.1-1.8.0",
"port-version": 0
},
"licensepp": {
"baseline": "2020-05-19",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libzippp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0e5a10e0beabc7b9a1f9f313e62a1c73833e1c4f",
"version": "5.1-1.8.0",
"port-version": 0
},
{
"git-tree": "40f7e8d02ea29cb28b5c0c19257aebf97def3f8e",
"version-string": "5.0-1.8.0",
Expand Down