Skip to content

Commit 54b9849

Browse files
ctabinCédric Tabin
andauthored
[libzippp] Update to libzippp-v3.1-1.6.1 (#10893)
Co-authored-by: Cédric Tabin <[email protected]>
1 parent 84041ca commit 54b9849

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

ports/libzippp/CONTROL

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Source: libzippp
2-
Version: 2019-07-22
2+
Version: 3.1-1.6.1
3+
Homepage: https://github.com/ctabin/libzippp
34
Description: Simple basic C++ wrapper around the libzip library. It is meant to be a portable and easy-to-use library for ZIP handling
45
Build-Depends: zlib, libzip[bzip2]

ports/libzippp/portfile.cmake

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
1-
include(vcpkg_common_functions)
21

32
vcpkg_from_github(
43
OUT_SOURCE_PATH SOURCE_PATH
54
REPO ctabin/libzippp
6-
REF be75a3413b648a3264e94a2c1921c83081dec1e0
7-
SHA512 86c6040bbaea0817486218e96c4d230a328e3560ada41861fbd18d78faa085b158199318d633085e616509084082bf29d6f97afdd2d2dfbc6b843dfbf6a20c85
8-
HEAD_REF master
5+
REF fb07ca80ebda0576366619b87364b4b3a94426df
6+
SHA512 c75518d0dba43ca5ae617569c0e3105af4f903a1226bdae100ee0770b4745ce4c889d29788bd2d75e7c8b556a5c339c0610170a620081d67a86cf6639e9e7fb2
7+
HEAD_REF libzippp-v3.1-1.6.1
98
)
109

1110
vcpkg_configure_cmake(
1211
SOURCE_PATH ${SOURCE_PATH}
1312
PREFER_NINJA
1413
OPTIONS
15-
-DBUILD_TESTS=OFF
14+
-DLIBZIPPP_BUILD_TESTS=OFF
1615
OPTIONS_DEBUG
17-
-DINSTALL_HEADERS=OFF
16+
-DLIBZIPPP_INSTALL_HEADERS=OFF
1817
)
1918

2019
vcpkg_install_cmake()
2120

22-
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/libzippp")
21+
if(WIN32)
22+
vcpkg_fixup_cmake_targets(CONFIG_PATH "cmake/libzippp")
23+
else()
24+
vcpkg_fixup_cmake_targets(CONFIG_PATH "share/libzippp")
25+
endif()
2326

2427
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
2528

0 commit comments

Comments
 (0)