vcpkg/ports/minizip-ng/vcpkg.json
Christian Fersch 9b6135efaf
[minizip-ng] Make dependencies optional (#20324)
* [minizip-ng] Make dependencies optional

* minor changes from review

* improve implementation of crypto feature

* x-add-version

* split crypto into 3 features

* properly forward features
2021-09-29 09:04:29 -07:00

89 lines
1.8 KiB
JSON

{
"name": "minizip-ng",
"version": "3.0.2",
"port-version": 1,
"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"
]
}
}
}