vcpkg/ports/libxml2/vcpkg.json
Yury Bura eb11dbb245
[libxml2] add more features (#30154)
* [libxml2] move hardcoded external dependencies (iconv, lzma, zlib) to features, disable legacy flag by default

* add version

* [libxml2] add ftp and http options

* overwrite version

* [libxml2] restore formatting, remove ftp from defaults

* overwrite version

* [libxml2] remove hhtp from default-features

* overwrite version

* [libxml2] add network future dependent on platform

* [libspatialite][pdal][spatialite-tools] define libxml2[http] dependency explicitly

* update versions

* [libspatialite] update version

* add version

* Revert "[libxml2] add network future dependent on platform"

* overwrite version
2023-03-22 16:20:43 -07:00

58 lines
1.1 KiB
JSON

{
"name": "libxml2",
"version": "2.10.3",
"port-version": 1,
"description": "Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform).",
"homepage": "https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"iconv",
"lzma",
"zlib"
],
"features": {
"ftp": {
"description": "Add the FTP support",
"supports": "!uwp"
},
"http": {
"description": "Add the HTTP support",
"supports": "!uwp"
},
"iconv": {
"description": "Add ICONV support",
"dependencies": [
"libiconv"
]
},
"legacy": {
"description": "Add deprecated APIs for compatibility"
},
"lzma": {
"description": "Use LZMA",
"dependencies": [
"liblzma"
]
},
"tools": {
"description": "Build tools"
},
"zlib": {
"description": "Use ZLib",
"dependencies": [
"zlib"
]
}
}
}