summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorStephan Springer2021-02-28 15:28:01 +0100
committerStephan Springer2021-02-28 15:28:01 +0100
commitb97e757c0c3c7d723892c666483c6ada791297d6 (patch)
tree4dee79c5f9107d763ce0d147c860db4a450ffec5 /PKGBUILD
parent60e4eb5087494189ce0554ee626fc9793f3aff60 (diff)
downloadaur-b97e757c0c3c7d723892c666483c6ada791297d6.tar.gz
update to version 3.16.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD51
1 files changed, 18 insertions, 33 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 17000b723d2..a7290a98ab4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,53 +1,37 @@
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
-# Contributor: Doug Newgard <scimmia at archlinux dot info>
+# Contributor: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Doug Newgard <scimmia at archlinux dot org>
+# Contributor: XavierCLL <xavier.corredor.llano (a) gmail.com>
# Contributor: SaultDon <sault.don gmail>
-# Contributor: Lantald <lantald at gmx.com>
-# Contributor: Thomas Dziedzic <gostrc at gmail>
-# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.dot.org>
+# Contributor: Lantald < lantald at gmx.com >
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-# Contributor: Eric Forgeot <http://esclinux.tk>
+# Contributor: Eric Forgeot < http://esclinux.tk >
_pkgname=qgis
pkgname="$_pkgname"-ltr
-pkgver=3.10.14
+pkgver=3.16.4
pkgrel=1
pkgdesc='Geographic Information System (GIS); Long Term Release'
url='https://qgis.org/'
license=(GPL)
arch=(x86_64)
-depends=(exiv2 gdal hicolor-icon-theme libzip python-qscintilla-qt5 python-sip4 qca qt5-3d
- qt5-serialport qt5-webkit qtkeychain qwtpolar spatialindex)
-makedepends=(cmake ninja fcgi gsl python-setuptools python-six qt5-tools txt2tags sip4)
+depends=(exiv2 gsl hicolor-icon-theme libzip protobuf python-gdal python-jinja python-owslib
+ python-psycopg2 python-pygments python-qscintilla-qt5 python-sip4 python-yaml qca qt5-3d
+ qt5-imageformats qt5-serialport qt5-webkit qtkeychain qwtpolar spatialindex opencl-icd-loader)
+makedepends=(cmake ninja fcgi python-setuptools python-six qt5-tools txt2tags sip4 opencl-clhpp)
optdepends=('fcgi: Map server'
- 'gpsbabel: GPS Tools plugin'
- 'gsl: Georeferencer plugin'
- 'python-gdal: DB Manager plugin; Processing plugin'
- 'python-jinja: MetaSearch plugin'
- 'python-owslib: MetaSearch plugin'
- 'python-psycopg2: DB Manager plugin; Processing plugin'
- 'python-pygments: MetaSearch plugin'
- 'python-numpy: Processing plugin'
- 'python-yaml: Processing plugin')
+ 'opencl-driver: packaged OpenCL driver'
+ 'gpsbabel: GPS Tools plugin')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
-source=("https://qgis.org/downloads/$_pkgname-$pkgver.tar.bz2"
- qgis-pyqt5-sip5.patch
- t2t-toc-level.patch
-)
+source=("https://qgis.org/downloads/$_pkgname-$pkgver.tar.bz2")
# curl https://qgis.org/downloads/qgis-latest-ltr.tar.bz2.sha256
-sha256sums=('add0a24cb6ec0ed5120cdcfceb478d5941936c7187ed85f2f7e7d22628e36131'
- '47fdab75c94ecf5b61a41b334e23714226e895cef507c35a3bc4b46c7d307981'
- 'f7e91914cfe366a63383b39c63d5731f6f20a1a0a0d7e9f3d16809a40bb5acff')
-
-prepare() {
- mkdir -p build
- cd "$_pkgname-$pkgver"
- patch -p1 -i ../qgis-pyqt5-sip5.patch # Use new pyqt sip file location
- patch -p1 -i ../t2t-toc-level.patch # --toc-level has been removed in txt2tags
-}
+sha256sums=('a31b4aa9b54a47f5dce3d944c32b4609348fa2ffdd1b533bdffb935f62b7049f')
build() {
- cmake -B build "$_pkgname-$pkgver" \
+ cmake -G Ninja -B build -S "$_pkgname-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_3D=TRUE \
-DWITH_SERVER=TRUE \
@@ -61,4 +45,5 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $_pkgname-$pkgver/rpm/sources/qgis-mime.xml "$pkgdir/usr/share/mime/packages/qgis.xml"
}