academic/qgis: Updated for version 1.5.0.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
David Spencer 2010-08-14 08:38:09 -05:00 committed by Erik Hanson
parent 487954b810
commit 5472c5bd79
4 changed files with 8 additions and 23 deletions

View file

@ -3,6 +3,6 @@ runs on Linux, Unix, Mac OSX, and Windows. QGIS lets you browse and create
map data on your computer. It supports many common spatial data formats
(e.g. ESRI ShapeFile, geotiff).
This requires proj, geos, gdal, R, gsl, and numpy.
This requires proj, geos, gdal, R, gsl, numpy and qwt.
Optional dependencies include postgresql, postgis, and gpsbabel.

View file

@ -1,12 +0,0 @@
--- qgis-1.4.0-original/cmake/Python.cmake 2009-08-19 20:09:10.000000000 +0100
+++ qgis-1.4.0-patched/cmake/Python.cmake 2010-06-29 09:54:01.043992226 +0100
@@ -150,9 +150,7 @@
# minimal version is 4.7 (to support universal builds)
SET (SIP_MIN_VERSION 040700)
TRY_RUN_PYTHON (RES "import sip\nprint '%x' % sip.SIP_VERSION" SIP_VERSION)
- IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER "${SIP_MIN_VERSION}")
SET (SIP_IS_GOOD TRUE)
- ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER "${SIP_MIN_VERSION}")
IF (NOT SIP_IS_GOOD)
MESSAGE (STATUS "SIP is required in version 4.7 or later!")

View file

@ -5,8 +5,8 @@
# This script is dedicated to the public domain
PRGNAM=qgis
VERSION=${VERSION:-1.4.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -51,15 +51,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Disable broken SIP version check
# See https://trac.osgeo.org/qgis/ticket/2446
patch -p1 < $CWD/qgis-1.4.0-sip-4.10.patch
cmake . \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQGIS_LIB_SUBDIR=lib${LIBDIRSUFFIX} \
-DQGIS_LIBEXEC_SUBDIR=lib${LIBDIRSUFFIX}/qgis \
-DQGIS_PLUGIN_SUBDIR=lib${LIBDIRSUFFIX}/qgis \
-DGRASS_PREFIX=/usr/lib${LIBDIRSUFFIX}/grass

View file

@ -1,10 +1,10 @@
PRGNAM="qgis"
VERSION="1.4.0"
VERSION="1.5.0"
HOMEPAGE="http://qgis.org/"
DOWNLOAD="http://download.osgeo.org/qgis/src/qgis_1.4.0.tar.gz"
MD5SUM="47710e7aa14c2a672c7f28457b0c956f"
DOWNLOAD="http://download.osgeo.org/qgis/src/qgis_1.5.0.tar.gz"
MD5SUM="a198fbcd8d96f5ed5e85a814cbc8f033"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
APPROVED="rworkman"
APPROVED="Erik Hanson"