Date: Monday, April 23, 2018 @ 09:02:19 Author: bgyorgy Revision: 317354
archrelease: copy trunk to community-x86_64 Added: qgis/repos/community-x86_64/PKGBUILD (from rev 317353, qgis/trunk/PKGBUILD) Deleted: qgis/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 188 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 94 insertions(+), 94 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-23 08:52:59 UTC (rev 317353) +++ PKGBUILD 2018-04-23 09:02:19 UTC (rev 317354) @@ -1,94 +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 <vmlinuz...@yahoo.com.ar> -# Contributor: Eric Forgeot < http://esclinux.tk > - -pkgname=qgis -pkgver=3.0.1 -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) -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=('9e2954597cfbdc82b852281c19d8652265f4785b3cf4d7c05e9a1174a89c44d4') - -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 \ - -DWITH_PY_COMPILE=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 317353, qgis/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-23 09:02:19 UTC (rev 317354) @@ -0,0 +1,94 @@ +# $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 <vmlinuz...@yahoo.com.ar> +# Contributor: Eric Forgeot < http://esclinux.tk > + +pkgname=qgis +pkgver=3.0.2 +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=('4293f45753599fcce1e9cc8985104486d80eb8422e9c2647d9b7cde78a54ab11') + +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 \ + -DWITH_PY_COMPILE=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 +}