[arch-commits] Commit in qgis/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Wed Apr 21 20:35:07 UTC 2021


    Date: Wednesday, April 21, 2021 @ 20:35:06
  Author: bgyorgy
Revision: 920663

upgpkg: qgis 3.18.2-1: Update to new version, enable OpenCL and PDAL support (FS#70362), build with Ninja (FS#68807)

Modified:
  qgis/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-21 20:34:07 UTC (rev 920662)
+++ PKGBUILD	2021-04-21 20:35:06 UTC (rev 920663)
@@ -9,21 +9,23 @@
 # Contributor: Eric Forgeot < http://esclinux.tk >
 
 pkgname=qgis
-pkgver=3.18.1
+pkgver=3.18.2
 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-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)
-makedepends=(cmake fcgi python-setuptools python-six qt5-tools txt2tags sip4)
+license=('GPL')
+arch=('x86_64')
+depends=('exiv2' 'gdal' 'gsl' 'hicolor-icon-theme' 'libzip' 'ocl-icd' 'pdal' '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-qt5' 'qwtpolar' 'spatialindex')
+makedepends=('cmake' 'fcgi' 'ninja' 'opencl-clhpp' 'python-setuptools' 'python-six' 'qt5-tools'
+             'txt2tags' 'sip4')
 optdepends=('fcgi: Map server'
             'gpsbabel: GPS Tools plugin')
 source=("https://qgis.org/downloads/$pkgname-$pkgver.tar.bz2"
-         qgis-qwtpolar-link.patch)
-sha256sums=('b2934927f1c9314dbe83aff0c900d2c51fb2f980fb2d313f4bcb1736b92fbaa7'
+        'qgis-qwtpolar-link.patch')
+sha256sums=('1913e4d5596bbc8b7d143f3defb18bf376f750a71f334f69d76af5deca7ecc5d'
             'd4c1e7bad45186822348a3a7f0951a8253506c69075bd2ead090ae017cd26af4')
 
 prepare() {
@@ -31,8 +33,8 @@
 }
 
 build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
+  cmake -S $pkgname-$pkgver -B build -G Ninja \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
     -DWITH_3D=TRUE \
     -DWITH_SERVER=TRUE \
     -DWITH_CUSTOM_WIDGETS=TRUE \
@@ -39,7 +41,8 @@
     -DBINDINGS_GLOBAL_INSTALL=TRUE \
     -DQGIS_MANUAL_SUBDIR=share/man \
     -DWITH_QWTPOLAR=TRUE \
-    -DWITH_INTERNAL_QWTPOLAR=FALSE
+    -DWITH_INTERNAL_QWTPOLAR=FALSE \
+    -DWITH_PDAL=TRUE
   cmake --build build
 }
 



More information about the arch-commits mailing list