diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libgit2/vcpkg.json | |
Diffstat (limited to 'vcpkg/ports/libgit2/vcpkg.json')
| -rw-r--r-- | vcpkg/ports/libgit2/vcpkg.json | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/vcpkg/ports/libgit2/vcpkg.json b/vcpkg/ports/libgit2/vcpkg.json new file mode 100644 index 0000000..fe8e5a6 --- /dev/null +++ b/vcpkg/ports/libgit2/vcpkg.json @@ -0,0 +1,97 @@ +{ + "name": "libgit2", + "version-semver": "1.9.1", + "description": "A C library implementing the Git core methods with a solid API", + "homepage": "https://github.com/libgit2/libgit2", + "license": null, + "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" + } + ] + }, + "tools": { + "description": "Build CLI tools" + }, + "winhttp": { + "description": "SSL support (WinHTTP)", + "supports": "windows & !uwp" + } + } +} |