vcpkg/ports/libgit2/vcpkg.json
JonLiu1993 e8a229a233
[libgit2] Add GIT_OPENSSL OPTION to fix setting certificate location fail (#31392)
* [libgit2] defined GIT_OPENSSL option

* update version

* update version

* update version

* update portfile.cmake

* update version

* remove unix restrictions

* update version
2023-05-15 13:54:54 -07:00

95 lines
1.9 KiB
JSON

{
"name": "libgit2",
"version-semver": "1.4.2",
"port-version": 3,
"description": "Git linkable library",
"homepage": "https://github.com/libgit2/libgit2",
"supports": "!uwp",
"dependencies": [
"http-parser",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"default-features": [
"pcre",
"ssl"
],
"features": {
"mbedtls": {
"description": "SSL support (mbedTLS)",
"supports": "!windows",
"dependencies": [
"mbedtls"
]
},
"openssl": {
"description": "SSL support (OpenSSL)",
"dependencies": [
"openssl"
]
},
"pcre": {
"description": "Build against external libpcre",
"dependencies": [
"pcre"
]
},
"pcre2": {
"description": "Build against external libpcre2",
"dependencies": [
"pcre2"
]
},
"sectransp": {
"description": "SSL support (sectransp)",
"supports": "osx"
},
"ssh": {
"description": "SSH support via libssh2",
"dependencies": [
"libssh2"
]
},
"ssl": {
"description": "Default SSL backend",
"dependencies": [
{
"name": "libgit2",
"default-features": false,
"features": [
"sectransp"
],
"platform": "osx"
},
{
"name": "libgit2",
"default-features": false,
"features": [
"winhttp"
],
"platform": "windows"
},
{
"name": "libgit2",
"default-features": false,
"features": [
"openssl"
],
"platform": "!windows & !osx"
}
]
},
"winhttp": {
"description": "SSL support (WinHTTP)",
"supports": "windows & !uwp"
}
}
}