diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2021-03-29 04:52:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-28 13:52:48 -0700 |
| commit | 6d9ed568117dd958c543b3ab8d3ed692965cac34 (patch) | |
| tree | 7462c96504e2799716a165d48e554502aff16f8f /ports/gdal | |
| parent | 9f6157af4e5b04ab3cc63150a20b1bad901a7d0b (diff) | |
| download | vcpkg-6d9ed568117dd958c543b3ab8d3ed692965cac34.tar.gz vcpkg-6d9ed568117dd958c543b3ab8d3ed692965cac34.zip | |
[vcpkg baseline][osgearth/gdal] Re-fix dependency gdal (#16904)
* [osgearth] Re-fix dependency gdal
* [gdal] Add dependency freexl on UNIX
* update version record
* fix patch
* convert to manifest
* update version record
* re-fix
* update version record
* add dependency freexl
* update version record
* Disable freexl
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* Don't require freexl on Windows
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* Revert osgearth change
* Fix the baseline version
* Fix osgearth baseline version
* [protouf] Automatic set protobuf_MODULE_COMPATIBLE to include the module file
* Set protobuf_MODULE_COMPATIBLE in wrapper
* Re-fix protobuf
* update version record
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Diffstat (limited to 'ports/gdal')
| -rw-r--r-- | ports/gdal/CONTROL | 15 | ||||
| -rw-r--r-- | ports/gdal/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/gdal/vcpkg.json | 43 |
3 files changed, 44 insertions, 16 deletions
diff --git a/ports/gdal/CONTROL b/ports/gdal/CONTROL deleted file mode 100644 index 548232fb6..000000000 --- a/ports/gdal/CONTROL +++ /dev/null @@ -1,15 +0,0 @@ -Source: gdal -Version: 3.1.3 -Port-Version: 2 -Homepage: https://gdal.org/ -Description: The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data. -Build-Depends: proj4, libpng, geos, sqlite3, curl, expat, libpq, openjpeg, libwebp, libxml2, liblzma, netcdf-c, hdf5, zlib, libgeotiff, cfitsio, json-c (!windows) -Supports: !arm - -Feature: mysql-libmariadb -Build-Depends: libmariadb -Description: Add mysql support using libmariadb - -Feature: libspatialite -Build-Depends: libspatialite -Description: Create or update SpatiaLite databases using libspatialite diff --git a/ports/gdal/portfile.cmake b/ports/gdal/portfile.cmake index c1fca47a8..2f2cae4bb 100644 --- a/ports/gdal/portfile.cmake +++ b/ports/gdal/portfile.cmake @@ -185,7 +185,7 @@ else() endif() set(CONF_OPTS --enable-shared=${BUILD_DYNAMIC} --enable-static=${BUILD_STATIC}) - list(APPEND CONF_OPTS --with-proj=${CURRENT_INSTALLED_DIR} --with-libjson-c=${CURRENT_INSTALLED_DIR}) + list(APPEND CONF_OPTS --with-proj=${CURRENT_INSTALLED_DIR} --with-libjson-c=${CURRENT_INSTALLED_DIR} --without-freexl) list(APPEND CONF_OPTS --without-jasper) vcpkg_configure_make( diff --git a/ports/gdal/vcpkg.json b/ports/gdal/vcpkg.json new file mode 100644 index 000000000..f04c03562 --- /dev/null +++ b/ports/gdal/vcpkg.json @@ -0,0 +1,43 @@ +{ + "name": "gdal", + "version-string": "3.1.3", + "port-version": 3, + "description": "The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data.", + "homepage": "hhttps://gdal.org/", + "dependencies": [ + "cfitsio", + "curl", + "expat", + "geos", + "hdf5", + { + "name": "json-c", + "platform": "!windows" + }, + "libgeotiff", + "liblzma", + "libpng", + "libpq", + "libwebp", + "libxml2", + "netcdf-c", + "openjpeg", + "proj4", + "sqlite3", + "zlib" + ], + "features": { + "libspatialite": { + "description": "Create or update SpatiaLite databases using libspatialite", + "dependencies": [ + "libspatialite" + ] + }, + "mysql-libmariadb": { + "description": "Add mysql support using libmariadb", + "dependencies": [ + "libmariadb" + ] + } + } +} |
