[gdal] Add libarchive support (#41896)

This commit is contained in:
Mathieu Pellerin 2024-11-06 03:34:14 +07:00 committed by GitHub
parent 6a150001c0
commit 1938443854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 18 additions and 1 deletions

View File

@ -22,6 +22,7 @@ vcpkg_replace_string("${SOURCE_PATH}/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/base
# "core" is used for a dependency which must be enabled to avoid vendored lib. # "core" is used for a dependency which must be enabled to avoid vendored lib.
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES FEATURES
archive GDAL_USE_ARCHIVE
cfitsio GDAL_USE_CFITSIO cfitsio GDAL_USE_CFITSIO
curl GDAL_USE_CURL curl GDAL_USE_CURL
expat GDAL_USE_EXPAT expat GDAL_USE_EXPAT

View File

@ -1,6 +1,7 @@
{ {
"name": "gdal", "name": "gdal",
"version-semver": "3.9.3", "version-semver": "3.9.3",
"port-version": 1,
"description": "The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data", "description": "The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data",
"homepage": "https://gdal.org", "homepage": "https://gdal.org",
"license": null, "license": null,
@ -41,6 +42,15 @@
"default-features" "default-features"
], ],
"features": { "features": {
"archive": {
"description": "Enable libarchive support",
"dependencies": [
{
"name": "libarchive",
"default-features": false
}
]
},
"aws-ec2-windows": { "aws-ec2-windows": {
"description": "Optimized detection of AWS EC2 Windows hosts", "description": "Optimized detection of AWS EC2 Windows hosts",
"dependencies": [ "dependencies": [

View File

@ -8,6 +8,7 @@
{ {
"name": "gdal", "name": "gdal",
"features": [ "features": [
"archive",
"freexl" "freexl"
] ]
}, },

View File

@ -3026,7 +3026,7 @@
}, },
"gdal": { "gdal": {
"baseline": "3.9.3", "baseline": "3.9.3",
"port-version": 0 "port-version": 1
}, },
"gdcm": { "gdcm": {
"baseline": "3.0.24", "baseline": "3.0.24",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "48387632dca0060dca76a899ebb693e2799d3d39",
"version-semver": "3.9.3",
"port-version": 1
},
{ {
"git-tree": "f5682e9626c47a26f37e7578c3df847ddc3fe11c", "git-tree": "f5682e9626c47a26f37e7578c3df847ddc3fe11c",
"version-semver": "3.9.3", "version-semver": "3.9.3",