[arch-commits] Commit in qgis/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Jul 10 13:37:41 UTC 2018


    Date: Tuesday, July 10, 2018 @ 13:37:41
  Author: arojas
Revision: 356043

archrelease: copy trunk to community-x86_64

Added:
  qgis/repos/community-x86_64/PKGBUILD
    (from rev 356042, qgis/trunk/PKGBUILD)
Deleted:
  qgis/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  186 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 93 insertions(+), 93 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-10 13:37:15 UTC (rev 356042)
+++ PKGBUILD	2018-07-10 13:37:41 UTC (rev 356043)
@@ -1,93 +0,0 @@
-# $Id$
-# Maintainer: 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: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
-# Contributor: Eric Forgeot < http://esclinux.tk >
-
-pkgname=qgis
-pkgver=3.2.0
-pkgrel=1
-pkgdesc='Geographic Information System (GIS) that supports vector, raster & database formats'
-url='https://qgis.org/'
-license=(GPL)
-arch=(x86_64)
-depends=(gdal hicolor-icon-theme libzip python-qscintilla-qt5 qca-qt5 qextserialport qt5-3d qt5-webkit qtkeychain qwtpolar spatialindex)
-makedepends=(cmake fcgi gsl python-six qt5-tools txt2tags)
-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')
-source=("https://qgis.org/downloads/$pkgname-$pkgver.tar.bz2")
-sha256sums=('0bc7cc5bdec05bac1f0f50250ce705130b5c3a7df3f0115f26743431fca2beff')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # Find Qt5ExtSerialPort
-  sed -e '/include$/ s/$/\/qt/' \
-      -e 's/qextserialport-1.2/Qt5ExtSerialPort/' \
-      -i cmake/FindQextserialport.cmake
-
-  # Find osgQt
-  sed -e 's/osgQt5 osgQt/osgQt/' \
-      -e 's/osgQt5d osgQtd/osgQt/' \
-      -i src/plugins/globe/CMakeModules/FindOSG.cmake
-
-  # Remove mime types already defined by freedesktop.org
-  sed -e '/type="image\/tiff"/,/<\/mime-type>/d' \
-      -e '/type="image\/jpeg"/,/<\/mime-type>/d' \
-      -e '/type="image\/jp2"/,/<\/mime-type>/d' \
-      -e '/type="application\/x-adobe-mif"/,/<\/mime-type>/d' \
-      -i debian/qgis.xml
-
-  [[ -d build ]] || mkdir build
-}
-
-build() {
-  cd $pkgname-$pkgver/build
-
-  cmake -G "Unix Makefiles" ../ \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DWITH_3D=TRUE \
-    -DWITH_SERVER=TRUE \
-    -DWITH_CUSTOM_WIDGETS=TRUE \
-    -DWITH_INTERNAL_QEXTSERIALPORT=FALSE \
-    -DBINDINGS_GLOBAL_INSTALL=TRUE \
-    -DQGIS_MANUAL_SUBDIR=share/man \
-    -DWITH_QWTPOLAR=TRUE \
-    -DWITH_INTERNAL_QWTPOLAR=FALSE
-
-  make
-
-  # Rebuild srs database, QGIS distributes an old, buggy one
-  LD_LIBRARY_PATH="$PWD/output/lib/" make synccrsdb
-  mv /tmp/srs.db ../resources/
-}
-
-package() {
-  cd $pkgname-$pkgver/build
-  make DESTDIR="$pkgdir" install
-
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # install desktop file and icon
-  install -Dm644 debian/qgis.desktop "$pkgdir/usr/share/applications/qgis.desktop"
-  install -Dm644 images/icons/qgis_icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/qgis.svg"
-
-  # install mime information and icons
-  install -Dm644 debian/qgis.xml -t "$pkgdir/usr/share/mime/packages/"
-  for _type in qgs qlr qml qpt; do
-    install -Dm644 images/icons/qgis_${_type}_icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/mimetypes/qgis-$_type.svg"
-  done
-}

Copied: qgis/repos/community-x86_64/PKGBUILD (from rev 356042, qgis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-10 13:37:41 UTC (rev 356043)
@@ -0,0 +1,93 @@
+# $Id$
+# Maintainer: 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: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
+# Contributor: Eric Forgeot < http://esclinux.tk >
+
+pkgname=qgis
+pkgver=3.2.0
+pkgrel=2
+pkgdesc='Geographic Information System (GIS) that supports vector, raster & database formats'
+url='https://qgis.org/'
+license=(GPL)
+arch=(x86_64)
+depends=(gdal hicolor-icon-theme libzip python-qscintilla-qt5 qca-qt5 qextserialport qt5-3d qt5-webkit qtkeychain qwtpolar spatialindex python-sip)
+makedepends=(cmake fcgi gsl python-six qt5-tools txt2tags sip)
+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')
+source=("https://qgis.org/downloads/$pkgname-$pkgver.tar.bz2")
+sha256sums=('0bc7cc5bdec05bac1f0f50250ce705130b5c3a7df3f0115f26743431fca2beff')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Find Qt5ExtSerialPort
+  sed -e '/include$/ s/$/\/qt/' \
+      -e 's/qextserialport-1.2/Qt5ExtSerialPort/' \
+      -i cmake/FindQextserialport.cmake
+
+  # Find osgQt
+  sed -e 's/osgQt5 osgQt/osgQt/' \
+      -e 's/osgQt5d osgQtd/osgQt/' \
+      -i src/plugins/globe/CMakeModules/FindOSG.cmake
+
+  # Remove mime types already defined by freedesktop.org
+  sed -e '/type="image\/tiff"/,/<\/mime-type>/d' \
+      -e '/type="image\/jpeg"/,/<\/mime-type>/d' \
+      -e '/type="image\/jp2"/,/<\/mime-type>/d' \
+      -e '/type="application\/x-adobe-mif"/,/<\/mime-type>/d' \
+      -i debian/qgis.xml
+
+  [[ -d build ]] || mkdir build
+}
+
+build() {
+  cd $pkgname-$pkgver/build
+
+  cmake -G "Unix Makefiles" ../ \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_3D=TRUE \
+    -DWITH_SERVER=TRUE \
+    -DWITH_CUSTOM_WIDGETS=TRUE \
+    -DWITH_INTERNAL_QEXTSERIALPORT=FALSE \
+    -DBINDINGS_GLOBAL_INSTALL=TRUE \
+    -DQGIS_MANUAL_SUBDIR=share/man \
+    -DWITH_QWTPOLAR=TRUE \
+    -DWITH_INTERNAL_QWTPOLAR=FALSE
+
+  make
+
+  # Rebuild srs database, QGIS distributes an old, buggy one
+  LD_LIBRARY_PATH="$PWD/output/lib/" make synccrsdb
+  mv /tmp/srs.db ../resources/
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+  make DESTDIR="$pkgdir" install
+
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # install desktop file and icon
+  install -Dm644 debian/qgis.desktop "$pkgdir/usr/share/applications/qgis.desktop"
+  install -Dm644 images/icons/qgis_icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/qgis.svg"
+
+  # install mime information and icons
+  install -Dm644 debian/qgis.xml -t "$pkgdir/usr/share/mime/packages/"
+  for _type in qgs qlr qml qpt; do
+    install -Dm644 images/icons/qgis_${_type}_icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/mimetypes/qgis-$_type.svg"
+  done
+}



More information about the arch-commits mailing list