summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gis/libfreexl/PKGBUILD21
-rw-r--r--gis/libspatialite/PKGBUILD24
-rw-r--r--gis/qgis/PKGBUILD32
-rw-r--r--gis/qwt5/PKGBUILD47
-rw-r--r--gis/qwt5/qwtconfig-archlinux.pri85
-rw-r--r--gis/spatialindex/PKGBUILD31
6 files changed, 89 insertions, 151 deletions
diff --git a/gis/libfreexl/PKGBUILD b/gis/libfreexl/PKGBUILD
new file mode 100644
index 000000000..533071120
--- /dev/null
+++ b/gis/libfreexl/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Bruno Gola <brunogola at gmail dot com>
+pkgname=libfreexl
+pkgver=1.0.0b
+pkgrel=1
+pkgdesc="Library to extract valid data from within an Excel (.xls) spreadsheet."
+arch=('i686' 'x86_64')
+url="https://www.gaia-gis.it/fossil/freexl/index"
+license=('MPL')
+source=("http://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-1.0.0b.tar.gz")
+md5sums=('e2e1c59eb2883d825782dfe8fe244207')
+
+build() {
+ cd "$srcdir/freexl-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/freexl-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/gis/libspatialite/PKGBUILD b/gis/libspatialite/PKGBUILD
new file mode 100644
index 000000000..13e2b8335
--- /dev/null
+++ b/gis/libspatialite/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Brian Galey <bkgaley at gmail dot com>
+# Contributor: Pietro Zambelli <peter.zamb at gmail dot com>
+pkgname=libspatialite
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="SQLite extension to support spatial data types and operations"
+arch=('i686' 'x86_64')
+url="https://www.gaia-gis.it/fossil/libspatialite/index"
+license=('MPL')
+depends=('geos' 'proj' 'sqlite3' 'libfreexl')
+options=('!libtool')
+source=("http://www.gaia-gis.it/gaia-sins/libspatialite-3.0.1.tar.gz")
+md5sums=('450d1a0d9da1bd9f770b7db3f2509f69')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/gis/qgis/PKGBUILD b/gis/qgis/PKGBUILD
index 7c348fd1e..cb06ed0a6 100644
--- a/gis/qgis/PKGBUILD
+++ b/gis/qgis/PKGBUILD
@@ -5,53 +5,47 @@
# Contributor: Eric Forgeot < http://esclinux.tk >
pkgname=qgis
-pkgver=1.7.4
-pkgrel=4
+pkgver=1.8.0
+pkgrel=2
pkgdesc='Quantum GIS is a Geographic Information System (GIS) that supports vector, raster & database formats'
url='http://qgis.org/'
license=('GPL')
arch=('i686' 'x86_64')
# update to http://www.qgis.org/wiki/Building_QGIS_from_Source#Overview
-depends=('libmysqlclient' 'postgresql-libs' 'sqlite3' 'jasper' 'curl' 'qt' 'python2' 'python2-qt' 'giflib' 'xerces-c' 'cfitsio' 'qwt5' 'gdal' 'flex' 'bison')
-makedepends=('cmake' 'grass' 'gsl' 'postgis' 'netcdf' 'fcgi' 'python2-sip' 'txt2tags')
+depends=('libmysqlclient' 'postgresql-libs' 'sqlite3' 'jasper' 'curl' 'qt' 'python2' 'python2-qt' 'giflib' 'cfitsio' 'qwt' 'gdal' 'flex' 'bison' 'libspatialite' 'spatialindex')
+makedepends=('cmake' 'grass' 'gsl' 'postgis' 'netcdf' 'fcgi' 'python2-sip')
optdepends=('postgis: postgis support and SPIT plugin'
'fcgi: qgis mapserver'
'python2-sip: python-support'
'grass: grass plugin'
- 'gsl: georeferencer ')
+ 'gsl: georeferencer')
options=('!makeflags')
source=("http://qgis.org/downloads/qgis-${pkgver}.tar.bz2"
- 'qgis.desktop'
- 'qgis_1.7.4_gcc4.7.patch')
+ 'qgis.desktop')
+
+md5sums=('1d60520f81d7763c026d0af887ac9a05'
+ '8ab66039f2aba519b92f52272ec3c13e')
-md5sums=('ad6e2bd8c5eb0c486939c420af5d8c44'
- '8ab66039f2aba519b92f52272ec3c13e'
- '0a978eac520b3df8736603074b1072b0')
-
build() {
# Fix insecure RPATH is weird, but just works ;)
# echo "os.system(\"sed -i '/^LFLAGS/s|-Wl,-rpath,.\+ ||g' gui/Makefile core/Makefile\")" >> python/configure.py.in
#cd qgis-${pkgver}
-
- #apply patch to be able to build qgis with GCC 4.7
- patch -p0 < ${srcdir}/qgis_1.7.4_gcc4.7.patch
rm -rf build
mkdir build
cd build
cmake ../qgis-${pkgver} \
+ -DENABLE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DGRASS_PREFIX=/opt/grass \
-DQGIS_MANUAL_SUBDIR=share/man \
- -DQWT_INCLUDE_DIR=/usr/include/qwt5 \
- -DQWT_LIBRARY=/usr/lib/libqwt5.so \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
- -DPYTHON_EXECUTABLE=/usr/bin/python2 \
- -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages \
- -DPYTHON_INCLUDE_PATH=/usr/include/python2.7/
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_SITE_PACKAGES_DIR=/usr/lib/python2.7/site-packages \
+ -DPYTHON_INCLUDE_PATH=/usr/include/python2.7/
make
}
diff --git a/gis/qwt5/PKGBUILD b/gis/qwt5/PKGBUILD
deleted file mode 100644
index f998a0765..000000000
--- a/gis/qwt5/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Maintainer: Eugen Zagorodniy <e dot zagorodniy at gmail dot com>
-# Contributor: Ronald van Haren <ronald.archlinux.org>
-
-pkgname=qwt5
-pkgver=5.2.2
-pkgrel=1
-pkgdesc="Qt Widgets for Technical Applications (version 5.X)"
-arch=('i686' 'x86_64')
-url="http://qwt.sourceforge.net/"
-depends=('qt>=4.5.1')
-options=('!makeflags')
-license=("custom:$pkgname")
-provides=('qwt')
-source=("http://downloads.sourceforge.net/sourceforge/qwt/qwt-$pkgver.tar.bz2" \
- "qwtconfig-archlinux.pri")
-md5sums=('70d77e4008a6cc86763737f0f24726ca'
- '15db52c3312b5f8f7cbbdabc4831591b')
-build() {
- cd ${srcdir}/qwt-${pkgver}
-
- # copy our config file to the right place
- install -Dm644 ${srcdir}/qwtconfig-archlinux.pri \
- ${srcdir}/qwt-${pkgver}/qwtconfig.pri
-
- # build qwt:
- qmake qwt.pro
- make || return 1
-}
-
-package() {
- cd ${srcdir}/qwt-${pkgver}
-
- make INSTALL_ROOT=${pkgdir} QTDIR=/usr install
-
- # rename conlicting symlink
- mv ${pkgdir}/usr/lib/libqwt.so ${pkgdir}/usr/lib/libqwt5.so
-
- # move html docs to propee place and move man pages to avoid conflict
- # with qwt from [extra]
- install -d ${pkgdir}/usr/share/doc/${pkgname}
- mv ${pkgdir}/usr/share/html ${pkgdir}/usr/share/doc/${pkgname}/
- mv ${pkgdir}/usr/share/man ${pkgdir}/usr/share/doc/${pkgname}/
-
- # install licence
- install -Dm644 ${srcdir}/qwt-${pkgver}/COPYING \
- ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
-}
diff --git a/gis/qwt5/qwtconfig-archlinux.pri b/gis/qwt5/qwtconfig-archlinux.pri
deleted file mode 100644
index 045e53275..000000000
--- a/gis/qwt5/qwtconfig-archlinux.pri
+++ /dev/null
@@ -1,85 +0,0 @@
-######################################################################
-# Install paths
-######################################################################
-
-unix {
- INSTALLBASE = /usr
-}
-
-win32 {
- INSTALLBASE = C:/Qwt
-}
-
-target.path = $$INSTALLBASE/lib
-headers.path = $$INSTALLBASE/include/qwt5
-doc.path = $$INSTALLBASE/share
-
-######################################################################
-# qmake internal options
-######################################################################
-
-CONFIG += qt # Also for Qtopia Core!
-CONFIG += warn_on
-CONFIG += thread
-
-######################################################################
-# release/debug mode
-# The designer plugin is always built in release mode.
-# If want to change this, you have to edit designer/designer.pro.
-######################################################################
-
-CONFIG += release # release/debug
-
-######################################################################
-# Build the static/shared libraries.
-# If QwtDll is enabled, a shared library is built, otherwise
-# it will be a static library.
-######################################################################
-
-CONFIG += QwtDll
-
-######################################################################
-# QwtPlot enables all classes, that are needed to use the QwtPlot
-# widget.
-######################################################################
-
-CONFIG += QwtPlot
-
-######################################################################
-# QwtWidgets enables all classes, that are needed to use the all other
-# widgets (sliders, dials, ...), beside QwtPlot.
-######################################################################
-
-CONFIG += QwtWidgets
-
-######################################################################
-# If you want to display svg images on the plot canvas, enable the
-# line below. Note that Qwt needs the svg+xml, when enabling
-# QwtSVGItem.
-######################################################################
-
-CONFIG += QwtSVGItem
-
-######################################################################
-# If you have a commercial license you can use the MathML renderer
-# of the Qt solutions package to enable MathML support in Qwt.
-# So if you want this, copy qtmmlwidget.h + qtmmlwidget.cpp to
-# textengines/mathml and enable the line below.
-######################################################################
-
-#CONFIG += QwtMathML
-
-######################################################################
-# If you want to build the Qwt designer plugin,
-# enable the line below.
-# Otherwise you have to build it from the designer directory.
-######################################################################
-
-CONFIG += QwtDesigner
-
-######################################################################
-# If you want to auto build the examples, enable the line below
-# Otherwise you have to build them from the examples directory.
-######################################################################
-
-#CONFIG += QwtExamples
diff --git a/gis/spatialindex/PKGBUILD b/gis/spatialindex/PKGBUILD
new file mode 100644
index 000000000..e0787808e
--- /dev/null
+++ b/gis/spatialindex/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Lantald <lantald at Gmx dot com>
+pkgname=spatialindex
+pkgver=1.7.1
+pkgrel=1
+pkgdesc="An extensible framework that supports robust spatial indexing methods and sophisticated spatial queries."
+arch=('i686' 'x86_64')
+url="http://libspatialindex.github.com/"
+license=('(L)GPL')
+depends=(gcc-libs)
+provides=(spatialindex)
+conflicts=(libspatialindex-git)
+source=(http://download.osgeo.org/libspatialindex/$pkgname-src-$pkgver.tar.gz)
+md5sums=('8599243d5d8204f0f8d92cd55ab120f5')
+
+build() {
+ cd "$srcdir/$pkgname-src-$pkgver/"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-src-$pkgver/"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-src-$pkgver/"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: