package/proj: bump to version 7.0.1
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 1 May 2020 13:14:02 +0000 (15:14 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 2 May 2020 16:34:30 +0000 (18:34 +0200)
- curl and tiff are optional dependencies since version 7.0.0 and
  https://github.com/OSGeo/PROJ/commit/db31b6dfa9c8fe37d5706d95ce81012b8db3c3b9
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/proj/proj.hash
package/proj/proj.mk

index ade9502b673750a29a66323b2dc61e246a12acc9..ac3d12b271fb7d8dfee121e3dc0bcf7e898a73de 100644 (file)
@@ -1,5 +1,5 @@
-# Fetched from http://download.osgeo.org/proj/proj-6.3.0.tar.gz.md5
-md5 09243feb4f243a2bdd455035a2007384 proj-6.3.0.tar.gz
+# Fetched from http://download.osgeo.org/proj/proj-7.0.1.tar.gz.md5
+md5  5ba7536b579a6c9e0ad822dbdd455985  proj-7.0.1.tar.gz
 # Locally calculated
-sha256 68ce9ba0005d442c2c1d238a3b9bc6654c358159b4af467b91e8d5b407c79c77 proj-6.3.0.tar.gz
-sha256 2dcac4af6990093ef48b896bfb81452d46a31b08d46cce34b27e83f93b2e37f6 COPYING
+sha256  a7026d39c9c80d51565cfc4b33d22631c11e491004e19020b3ff5a0791e1779f  proj-7.0.1.tar.gz
+sha256  2dcac4af6990093ef48b896bfb81452d46a31b08d46cce34b27e83f93b2e37f6  COPYING
index 2be000402334dce29ce479b4b12f984b364d0bdb..1c8f3f77c5a922b7a4a7dbf93ee84549cf714a93 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PROJ_VERSION = 6.3.0
+PROJ_VERSION = 7.0.1
 PROJ_SITE = http://download.osgeo.org/proj
 PROJ_LICENSE = MIT
 PROJ_LICENSE_FILES = COPYING
@@ -23,4 +23,18 @@ PROJ_CONF_ENV = \
        CFLAGS="$(PROJ_CFLAGS)" \
        CXXFLAGS="$(PROJ_CXXFLAGS)"
 
+ifeq ($(BR2_PACKAGE_LIBCURL),y)
+PROJ_DEPENDENCIES += libcurl
+PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config
+else
+PROJ_CONF_OPTS += --without-curl
+endif
+
+ifeq ($(BR2_PACKAGE_TIFF),y)
+PROJ_DEPENDENCIES += tiff
+PROJ_CONF_OPTS += --enable-tiff
+else
+PROJ_CONF_OPTS += --disable-tiff
+endif
+
 $(eval $(autotools-package))