summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rwxr-xr-xPKGBUILD20
2 files changed, 17 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14866deafdf..59ade259259 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = saga-gis
pkgdesc = A Geographic Information System (GIS) software with immense capabilities for geodata processing and analysis.
- pkgver = 7.4.0
- pkgrel = 1
+ pkgver = 7.5.0
+ pkgrel = 2
url = http://www.saga-gis.org
arch = i686
arch = x86_64
@@ -14,12 +14,13 @@ pkgbase = saga-gis
depends = unixodbc
depends = jasper
depends = swig
- optdepends = opencv
+ optdepends = opencv3-opt
optdepends = vigra
optdepends = liblas
optdepends = libharu
- source = https://sourceforge.net/projects/saga-gis/files/SAGA - 7/SAGA - 7.4.0/saga-7.4.0.tar.gz
- md5sums = 23ee793e28c5bd8a0488f0cb6bef59bb
+ optdepends = libsvm
+ source = https://sourceforge.net/projects/saga-gis/files/SAGA - 7/SAGA - 7.5.0/saga-7.5.0.tar.gz
+ md5sums = 36f3a4108eff901e0bb197f5b27d09af
pkgname = saga-gis
diff --git a/PKGBUILD b/PKGBUILD
index edc99ff235a..fad70153471 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
pkgname=saga-gis
_pkgname=saga
-pkgver=7.4.0
-pkgrel=1
+pkgver=7.5.0
+pkgrel=2
pkgdesc="A Geographic Information System (GIS) software with immense capabilities for geodata processing and analysis."
url="http://www.saga-gis.org"
license=("GPL3")
@@ -19,12 +19,12 @@ depends=('wxgtk'
'unixodbc'
'jasper'
'swig')
-optdepends=('opencv'
+optdepends=('opencv3-opt'
'vigra'
'liblas'
- 'libharu')
+ 'libharu' 'libsvm')
source=("https://sourceforge.net/projects/saga-gis/files/SAGA - 7/SAGA - ${pkgver}/saga-${pkgver}.tar.gz")
-md5sums=('23ee793e28c5bd8a0488f0cb6bef59bb')
+md5sums=('36f3a4108eff901e0bb197f5b27d09af')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
@@ -33,13 +33,15 @@ build() {
./configure --prefix=/usr \
--enable-shared \
- --enable-python PYTHON_VERSION=2.7 PYTHON=/usr/bin/python2 \
+ --enable-python PYTHON_VERSION=3 PYTHON=/usr/bin/python \
--with-postgresql=/usr/bin/pg_config \
- CXXFLAGS="`wx-config --version=3.0 --cxxflags`" \
- LIBS="`wx-config --version=3.0 --libs`"
+ --with-gdal=/usr/bin/gdal-config \
+ CXXFLAGS="`wx-config --version=3.0 --cxxflags` -I/opt/opencv3/include/" \
+ LIBS="`wx-config --version=3.0 --libs`" \
+ LDFLAGS="-L/opt/opencv3/lib/"
msg "Start compiling ..."
- make -j3
+ make -j$(nproc)
}
package () {