2021-04-08 08:28:30 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# postgis
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
package/postgis: bump version to 3.1.2
PostGIS 3.1.2
2021/05/21
* Bug Fixes
- #4871, TopoGeometry::geometry cast returns NULL for empty
TopoGeometry objects (Sandro Santilli)
- #4826, postgis_tiger_geocoder Better answers when no zip is provided
(Regina Obe)
- #4817, handle more complex compound coordinate dystems (Paul Ramsey)
- #4842, Only do axis flips on CRS that have a "Lat" as the first column (Paul Ramsey)
- Support recent Proj versions that have removed pj_get_release (Paul Ramsey)
- #4835, Adjust tolerance for geodetic calculations (Paul Ramsey)
- #4840, Improper conversion of negative geographic azimuth to positive (Paul Ramsey)
- #4853, DBSCAN cluster not formed when recordset length equal to minPoints (Dan Baston)
- #4863, Update bboxes after scale/affine coordinate changes (Paul Ramsey)
- #4876, Fix raster issues related to PostgreSQL 14 tablefunc changes
(Paul Ramsey, Regina Obe)
- #4877, mingw64 PostGIS / PostgreSQL 14 compile (Regina Obe, Tom Lane)
- #4838, Update to support Tiger 2020 (Regina Obe)
- #4890, Change Proj cache lifetime to last as long as connection (Paul Ramsey)
- #4845, Add Pg14 build support (Paul Ramsey)
Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-06-23 06:31:20 +02:00
|
|
|
POSTGIS_VERSION = 3.1.2
|
2021-04-08 08:28:30 +02:00
|
|
|
POSTGIS_SITE = https://download.osgeo.org/postgis/source
|
|
|
|
# parallel build issues
|
|
|
|
POSTGIS_MAKE = $(MAKE1)
|
|
|
|
POSTGIS_LICENSE = GPL-2.0+ (PostGIS), BSD-2-Clause, MIT, Apache-2.0, ISC, BSL-1.0, CC-BY-SA-3.0
|
|
|
|
POSTGIS_LICENSE_FILES = LICENSE.TXT
|
2021-04-14 23:00:47 +02:00
|
|
|
POSTGIS_CPE_ID_VENDOR = postgis
|
2021-04-08 08:28:30 +02:00
|
|
|
# configure.ac is patched so need to run autoreconf
|
|
|
|
POSTGIS_AUTORECONF = YES
|
|
|
|
|
|
|
|
POSTGIS_DEPENDENCIES = postgresql libgeos proj libxml2
|
|
|
|
|
|
|
|
POSTGIS_CONF_OPTS += \
|
|
|
|
--with-pgconfig=$(STAGING_DIR)/usr/bin/pg_config \
|
|
|
|
--with-geosconfig=$(STAGING_DIR)/usr/bin/geos-config \
|
2021-04-22 20:26:41 +02:00
|
|
|
--with-xml2config=$(STAGING_DIR)/usr/bin/xml2-config
|
2021-04-08 08:28:30 +02:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGDAL),y)
|
|
|
|
POSTGIS_DEPENDENCIES += libgdal
|
|
|
|
POSTGIS_CONF_OPTS += --with-raster
|
|
|
|
else
|
|
|
|
POSTGIS_CONF_OPTS += --without-raster
|
|
|
|
endif
|
|
|
|
|
2021-04-14 22:10:41 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_JSON_C),y)
|
|
|
|
POSTGIS_DEPENDENCIES += json-c
|
|
|
|
POSTGIS_CONF_OPTS += --with-json
|
|
|
|
else
|
|
|
|
POSTGIS_CONF_OPTS += --without-json
|
|
|
|
endif
|
|
|
|
|
2021-04-14 22:10:42 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
|
|
POSTGIS_DEPENDENCIES += pcre
|
|
|
|
endif
|
|
|
|
|
2021-04-22 20:26:41 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_PROTOBUF_C),y)
|
|
|
|
POSTGIS_DEPENDENCIES += protobuf-c
|
|
|
|
POSTGIS_CONF_OPTS += --with-protobuf
|
|
|
|
else
|
|
|
|
POSTGIS_CONF_OPTS += --without-protobuf
|
|
|
|
endif
|
|
|
|
|
2021-04-08 08:28:30 +02:00
|
|
|
$(eval $(autotools-package))
|