early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ef8023..ec1ee55 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,7 +81,7 @@ include(FeatureSummary)
set(INSTALL_BIN_DIR ${CMAKE_INSTALL_BINDIR} CACHE PATH "Installation directory for executables")
set(INSTALL_LIB_DIR ${CMAKE_INSTALL_LIBDIR} CACHE PATH "Installation directory for libraries")
-set(INSTALL_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR} CACHE PATH "Installation directory for headers")
+set(INSTALL_INC_DIR ${CMAKE_INSTALL_INCLUDEDIR}/minizip-ng CACHE PATH "Installation directory for headers")
set(INSTALL_MAN_DIR ${CMAKE_INSTALL_MANDIR} CACHE PATH "Installation directory for manual pages")
set(STDLIB_DEF)

View File

@@ -0,0 +1,46 @@
if (VCPKG_TARGET_IS_WINDOWS)
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO zlib-ng/minizip-ng
REF 3.0.5
SHA512 da0c230951caafd986331300b840d09a4c27a677183174f8b1782c2515209b51cf00133dd5fc5f9fc88a349134db7f93d3daa7c05b7d0270be99b9cf85a6c133
HEAD_REF master
PATCHES
Modify-header-file-path.patch
)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
pkcrypt MZ_PKCRYPT
signing MZ_SIGNING
wzaes MZ_WZAES
openssl MZ_OPENSSL
bzip2 MZ_BZIP2
lzma MZ_LZMA
zlib MZ_ZLIB
zstd MZ_ZSTD
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
${FEATURE_OPTIONS}
-DMZ_FETCH_LIBS=OFF
-DMZ_PROJECT_SUFFIX:STRING=-ng
)
vcpkg_cmake_install()
vcpkg_fixup_pkgconfig()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

87
externals/vcpkg/ports/minizip-ng/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,87 @@
{
"name": "minizip-ng",
"version": "3.0.5",
"description": "minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.",
"homepage": "https://github.com/zlib-ng/minizip-ng",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"bzip2",
"lzma",
"pkcrypt",
"signing",
"wzaes",
"zlib",
"zstd"
],
"features": {
"bzip2": {
"description": "Enables BZIP2 compression",
"dependencies": [
"bzip2"
]
},
"lzma": {
"description": "Enables LZMA compression",
"dependencies": [
"liblzma"
]
},
"openssl": {
"description": "Enables OpenSSL for encryption",
"dependencies": [
"openssl"
]
},
"pkcrypt": {
"description": "Enables PKWARE traditional encryption"
},
"signing": {
"description": "Enables zip signing support",
"dependencies": [
{
"name": "minizip-ng",
"default-features": false,
"features": [
"openssl"
],
"platform": "!windows & !osx"
}
]
},
"wzaes": {
"description": "Enables WinZIP AES encryption",
"dependencies": [
{
"name": "minizip-ng",
"default-features": false,
"features": [
"openssl"
],
"platform": "!windows & !osx"
}
]
},
"zlib": {
"description": "Enables ZLIB compression",
"dependencies": [
"zlib"
]
},
"zstd": {
"description": "Enables ZSTD compression",
"dependencies": [
"zstd"
]
}
}
}