Skip to content

Instantly share code, notes, and snippets.

@samtux
Created May 29, 2017 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samtux/68696b0b5af971575561d2e07c3650d6 to your computer and use it in GitHub Desktop.
Save samtux/68696b0b5af971575561d2e07c3650d6 to your computer and use it in GitHub Desktop.
qgis Update from 2.18.6 to 2.18.9
--- /home/samtux/makepkg/qgis/PKGBUILD
+++ /home/samtux/makepkg/qgis2.18.9/PKGBUILD
@@ -12,14 +12,14 @@
# You will also need to install osgearth-qt4 or fcgi, respectively, before building.
pkgname=qgis
-pkgver=2.18.6
+pkgver=2.18.9
pkgrel=1
pkgdesc='Geographic Information System (GIS) that supports vector, raster & database formats'
url='http://qgis.org/'
license=('GPL')
arch=('i686' 'x86_64')
depends=('expat' 'gcc-libs' 'gdal' 'geos' 'glibc' 'libspatialite' 'postgresql-libs' 'proj'
- 'qt4' 'qca-qt4' 'qscintilla-qt4' 'qwt' 'qwtpolar' 'spatialindex' 'sqlite'
+ 'qt4' 'qca-qt4' 'qscintilla-qt4' 'qwt' 'qwtpolar' 'spatialindex' 'sqlite' 'qtwebkit'
'python2' 'python2-httplib2' 'python2-future' 'python2-qscintilla-qt4' 'python2-sip' 'python2-six')
makedepends=('cmake' 'gsl' 'perl' 'txt2tags')
optdepends=('gpsbabel: GPS Tool plugin'
@@ -35,7 +35,7 @@
'python2-yaml: Processing plugin')
source=("https://qgis.org/downloads/$pkgname-$pkgver.tar.bz2"
"qgis_sip-ftbfs.patch::https://src.fedoraproject.org/cgit/rpms/qgis.git/plain/qgis_sip-ftbfs.patch?id=25b8f81ccabbfdb183d4850a66e884c183444f14")
-md5sums=('ea6d736f1b73d3e02867002fa7fabdb1'
+md5sums=('d55d4931651d1967876ba89aab8d2935'
'0575d848604f0fc6dda0a643523e7e48')
prepare() {
@@ -66,11 +66,13 @@
-DENABLE_TESTS=FALSE \
-DCMAKE_SKIP_RPATH=TRUE \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DWITH_QTWEBKIT=FALSE \
+ -DWITH_QTWEBKIT=TRUE \
-DWITH_INTERNAL_QWTPOLAR=FALSE \
-DWITH_INTERNAL_{HTTPLIB2,JINJA2,MARKUPSAFE,OWSLIB,PYGMENTS,DATEUTIL,PYTZ,YAML,NOSE2,SIX,FUTURE}=FALSE \
-# -DWITH_SERVER=TRUE \
-# -DWITH_GLOBE=TRUE
+ -DWITH_INTERNAL_SPATIALITE=ON \
+ -DWITH_PYSPATIALITE=ON \
+ #-DWITH_SERVER=TRUE \
+ #-DWITH_GLOBE=TRUE
make
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment