vcpkg/ports/libzip/vcpkg.json
Pierre Wendling 47fb7ebacd
[libzip] Fix zstd feature (#30500)
* [libzip] Use the upstream package name for zstd.

Without it, when with the zstd feature, calling `find_package` on libzip
would fail due to the `Zstd` not being found.

* [libzip] Bump port version.

* [libzip] Update baseline.

* [libzip] Reduce patch size by using NAMES.

* [libzip] Update version.
2023-03-29 16:09:38 -07:00

91 lines
2.0 KiB
JSON

{
"name": "libzip",
"version": "1.9.2",
"port-version": 1,
"description": "A library for reading, creating, and modifying zip archives.",
"homepage": "https://github.com/nih-at/libzip",
"license": "BSD-3-Clause",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"default-features": [
"bzip2",
"default-aes"
],
"features": {
"bzip2": {
"description": "Support bzip2-compressed zip archives",
"dependencies": [
"bzip2"
]
},
"commoncrypto": {
"description": "AES (encryption) support using Apple's Common Crypto API"
},
"default-aes": {
"description": "Use default AES",
"dependencies": [
{
"name": "libzip",
"default-features": false,
"features": [
"commoncrypto"
],
"platform": "osx"
},
{
"name": "libzip",
"default-features": false,
"features": [
"wincrypto"
],
"platform": "windows"
},
{
"name": "libzip",
"default-features": false,
"features": [
"openssl"
],
"platform": "!(windows | osx)"
}
]
},
"liblzma": {
"description": "Support XZ compressed zip archives using liblzma",
"dependencies": [
"liblzma"
]
},
"mbedtls": {
"description": "AES (encryption) support using mbedtls",
"dependencies": [
"mbedtls"
]
},
"openssl": {
"description": "AES (encryption) support using OpenSSL",
"dependencies": [
"openssl"
]
},
"wincrypto": {
"description": "AES (encryption) support using Windows Crypto API"
},
"zstd": {
"description": "Support Zstandard-compressed zip archives",
"dependencies": [
"zstd"
]
}
}
}