aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Bartoletti <lbartoletti@FreeBSD.org>2022-01-10 19:42:46 +0000
committerLoïc Bartoletti <lbartoletti@FreeBSD.org>2022-01-11 05:11:01 +0000
commitca935938eaf5745da6590a378ab1d46fe3b267b5 (patch)
treec1fde9777ba43a2f132f4e11dc73da8a08ea922b
parent281b577e6913e2cc00cd3dd730de728d99e29eec (diff)
downloadports-ca935938eaf5745da6590a378ab1d46fe3b267b5.tar.gz
ports-ca935938eaf5745da6590a378ab1d46fe3b267b5.zip
databases/librasterlite2: Update to 1.1.0-beta1
Enable to build graphics/gdal 3.3.3 PR: 261008, 260840 Reported by: jau@iki.fi, darcy@dbitech.ca
-rw-r--r--graphics/librasterlite2/Makefile21
-rw-r--r--graphics/librasterlite2/distinfo5
-rw-r--r--graphics/librasterlite2/files/patch-headers_rasterlite2__private.h11
-rw-r--r--graphics/librasterlite2/pkg-plist2
4 files changed, 25 insertions, 14 deletions
diff --git a/graphics/librasterlite2/Makefile b/graphics/librasterlite2/Makefile
index 08ebcac49254..e68384b3ce33 100644
--- a/graphics/librasterlite2/Makefile
+++ b/graphics/librasterlite2/Makefile
@@ -1,11 +1,10 @@
# Created by: lbartoletti <lbartoletti@FreeBSD.org>
PORTNAME= librasterlite2
-PORTVERSION= 1.0.0
-DISTVERSIONSUFFIX=-rc0
-PORTREVISION= 8
+PORTVERSION= 1.1.0
+DISTVERSIONSUFFIX=-beta1
CATEGORIES= graphics geography
-MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
+MASTER_SITES= http://www.gaia-gis.it/gaia-sins/librasterlite2-sources/
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite
@@ -13,29 +12,27 @@ COMMENT= Library that stores and retrieves raster coverages using a SpatiaLite
LICENSE= MPL11 GPLv2 LGPL21
LICENSE_COMB= dual
-LIB_DEPENDS= libspatialite.so:databases/spatialite \
+LIB_DEPENDS= liblz4.so:archivers/liblz4 \
+ libzstd.so:archivers/zstd \
+ libspatialite.so:databases/spatialite \
libgeotiff.so:graphics/libgeotiff \
libjbig.so:graphics/jbigkit \
libpng.so:graphics/png \
libgif.so:graphics/giflib \
libgeos.so:graphics/geos \
libproj.so:graphics/proj \
+ libopenjp2.so:graphics/openjpeg \
libtiff.so:graphics/tiff \
- libfreexl.so:textproc/freexl \
libwebp.so:graphics/webp \
libcairo.so:graphics/cairo \
- libcurl.so:ftp/curl
+ libcurl.so:ftp/curl \
+ libfreexl.so:textproc/freexl
GNU_CONFIGURE= yes
USES= gmake iconv jpeg libtool pathfix pkgconfig sqlite
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
-# Work around PKG_CHECK_MODULES before base r276898
-.if !exists(/usr/libdata/pkgconfig/liblzma.pc)
-CONFIGURE_ENV+= LIBLZMA_CFLAGS=" " LIBLZMA_LIBS="-llzma"
-.endif
-
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LIBS+= -lsqlite3 -lm
diff --git a/graphics/librasterlite2/distinfo b/graphics/librasterlite2/distinfo
index 5aeaaf7ce658..2877ef6496d7 100644
--- a/graphics/librasterlite2/distinfo
+++ b/graphics/librasterlite2/distinfo
@@ -1,2 +1,3 @@
-SHA256 (librasterlite2-1.0.0-rc0.tar.gz) = 8ddf8e7640ecc2591804a97cc78f54263362e67eb8af3089f014dc058060ef4f
-SIZE (librasterlite2-1.0.0-rc0.tar.gz) = 16400254
+TIMESTAMP = 1641841068
+SHA256 (librasterlite2-1.1.0-beta1.tar.gz) = f7284cdfc07ad343a314e4878df0300874b0145d9d331b063b096b482e7e44f4
+SIZE (librasterlite2-1.1.0-beta1.tar.gz) = 17865163
diff --git a/graphics/librasterlite2/files/patch-headers_rasterlite2__private.h b/graphics/librasterlite2/files/patch-headers_rasterlite2__private.h
new file mode 100644
index 000000000000..30ddcb1d3071
--- /dev/null
+++ b/graphics/librasterlite2/files/patch-headers_rasterlite2__private.h
@@ -0,0 +1,11 @@
+--- headers/rasterlite2_private.h.orig 2022-01-10 19:39:39 UTC
++++ headers/rasterlite2_private.h
+@@ -48,7 +48,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
+ */
+
+ #include "config.h"
+-
++#include <time.h>
+ /*
+ / the following patch supporting GeoTiff headers
+ / was kindly contributed by Brad Hards on 2011-09-02
diff --git a/graphics/librasterlite2/pkg-plist b/graphics/librasterlite2/pkg-plist
index 0119b5df94e7..335db264ca9e 100644
--- a/graphics/librasterlite2/pkg-plist
+++ b/graphics/librasterlite2/pkg-plist
@@ -1,7 +1,9 @@
+bin/rl2sniff
bin/rl2tool
bin/wmslite
include/rasterlite2/rasterlite2.h
include/rasterlite2/rl2graphics.h
+include/rasterlite2/rl2mapconfig.h
include/rasterlite2/rl2svg.h
include/rasterlite2/rl2tiff.h
include/rasterlite2/rl2wms.h