[arch-commits] Commit in qgis/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Oct 25 12:15:50 UTC 2020
Date: Sunday, October 25, 2020 @ 12:15:50
Author: bgyorgy
Revision: 732553
upgpkg: qgis 3.16.0-1: Update to new version, add MIME type definitions, move essential python libraries from optdepends to depends, add qt5-imageformats to depends (FS#67244)
Modified:
qgis/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++++++---------------------
1 file changed, 10 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-25 12:15:19 UTC (rev 732552)
+++ PKGBUILD 2020-10-25 12:15:50 UTC (rev 732553)
@@ -9,34 +9,23 @@
# Contributor: Eric Forgeot < http://esclinux.tk >
pkgname=qgis
-pkgver=3.14.16
+pkgver=3.16.0
pkgrel=1
pkgdesc='Geographic Information System (GIS) that supports vector, raster & database formats'
url='https://qgis.org/'
license=(GPL)
arch=(x86_64)
-depends=(exiv2 gdal gsl hicolor-icon-theme libzip protobuf python-qscintilla-qt5 python-sip qca qt5-3d
- qt5-serialport qt5-webkit qtkeychain qwtpolar spatialindex)
+depends=(exiv2 gdal gsl hicolor-icon-theme libzip protobuf python-gdal python-jinja python-owslib
+ python-psycopg2 python-pygments python-qscintilla-qt5 python-sip python-yaml qca qt5-3d
+ qt5-imageformats qt5-serialport qt5-webkit qtkeychain qwtpolar spatialindex)
makedepends=(cmake fcgi python-setuptools python-six qt5-tools txt2tags sip)
optdepends=('fcgi: Map server'
- 'gpsbabel: GPS Tools 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')
+ 'gpsbabel: GPS Tools plugin')
source=("https://qgis.org/downloads/$pkgname-$pkgver.tar.bz2")
-sha256sums=('c9915c2e577f1812a2b35b678b123c58407e07824d73e5ec0dda13db7ca75c04')
+sha256sums=('ce8dfee5af989cfa2af4d087ab64d5e4022e928e847ee083e07cc9e8646ef1da')
-prepare() {
- [[ -d build ]] || mkdir build
-}
-
build() {
- cd build
- cmake -G "Unix Makefiles" ../$pkgname-$pkgver/ \
+ cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_3D=TRUE \
-DWITH_SERVER=TRUE \
@@ -45,10 +34,10 @@
-DQGIS_MANUAL_SUBDIR=share/man \
-DWITH_QWTPOLAR=TRUE \
-DWITH_INTERNAL_QWTPOLAR=FALSE
- make
+ cmake --build build
}
package() {
- cd build
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname-$pkgver/rpm/sources/qgis-mime.xml "$pkgdir/usr/share/mime/packages/qgis.xml"
}
More information about the arch-commits
mailing list