-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libspatialite] Use pkgconfig for nmake and autotools (#20480)
* Enable CI for libspatialite:x64-windows-static-md * Use pkgconfig for nmake * Use pkgconfig for autotools; fix mingw * Install pc file for windows * Add feature interface, make GPLv2+ features optional * spatialite-tools need libspatialite[rttopo] * Update versions
- Loading branch information
Showing
9 changed files
with
234 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/src/headers/spatialite/gaiaconfig-msvc.h b/src/headers/spatialite/gaiaconfig-msvc.h | ||
index 37f0bd1..0053258 100644 | ||
--- a/src/headers/spatialite/gaiaconfig-msvc.h | ||
+++ b/src/headers/spatialite/gaiaconfig-msvc.h | ||
@@ -2,7 +2,7 @@ | ||
/* ./src/headers/spatialite/gaiaconfig-msvc.h.in - manually maintained */ | ||
|
||
/* Should be defined in order to enable GCP support. */ | ||
-#define ENABLE_GCP 1 | ||
+// #define ENABLE_GCP 1 | ||
|
||
/* Should be defined in order to enable GeoPackage support. */ | ||
#define ENABLE_GEOPACKAGE 1 | ||
@@ -11,7 +11,7 @@ | ||
#define ENABLE_LIBXML2 1 | ||
|
||
/* Should be defined in order to enable RTTOPO support. */ | ||
-#define ENABLE_RTTOPO 1 | ||
+// #define ENABLE_RTTOPO 1 | ||
|
||
/* Should be defined in order to enable GEOS_370 support. */ | ||
#define GEOS_370 1 | ||
@@ -32,7 +32,7 @@ | ||
/* #undef OMIT_FREEXL */ | ||
|
||
/* Should be defined in order to disable GEOCALLBACKS support. */ | ||
-#define OMIT_GEOCALLBACKS 1 | ||
+// #define OMIT_GEOCALLBACKS 1 | ||
|
||
/* Should be defined in order to disable GEOS support. */ | ||
/* #undef OMIT_GEOS */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,40 @@ | ||
{ | ||
"name": "libspatialite", | ||
"version": "5.0.1", | ||
"port-version": 1, | ||
"description": "SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.", | ||
"homepage": "https://www.gaia-gis.it/gaia-sins/libspatialite-sources", | ||
"dependencies": [ | ||
"freexl", | ||
"geos", | ||
"libiconv", | ||
"librttopo", | ||
"libxml2", | ||
"proj4", | ||
"sqlite3", | ||
"vcpkg-pkgconfig-get-modules", | ||
"zlib" | ||
] | ||
], | ||
"default-features": [ | ||
"freexl", | ||
"geocallbacks" | ||
], | ||
"features": { | ||
"freexl": { | ||
"description": "FreeXL spreadsheet file support.", | ||
"dependencies": [ | ||
"freexl" | ||
] | ||
}, | ||
"gcp": { | ||
"description": "Ground control points support. This feature reduces the license options to GPLv2+." | ||
}, | ||
"geocallbacks": { | ||
"description": "Geometry callbacks support." | ||
}, | ||
"rttopo": { | ||
"description": "RTTOPO support. This feature reduces the license options to GPLv2+.", | ||
"dependencies": [ | ||
"librttopo" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.