# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit cmake-utils eutils qt4 MY_P=${PN}_${PV} DESCRIPTION="Quantum GIS (QGIS) is a Geographic Information System (GIS)" HOMEPAGE="http://www.qgis.org/" SRC_URI="http://download.osgeo.org/qgis/src/${MY_P}.tar.gz samples? ( http://download.osgeo.org/qgis/data/qgis_sample_data.tar.gz )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug gps grass gsl postgres python samples" DEPEND=">=sci-libs/gdal-1.3.1 || ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 x11-libs/qt-svg:4 x11-libs/qt-sql:4 x11-libs/qt-qt3support:4 ) =virtual/postgresql-base-8 dev-db/postgis ) grass? ( sci-geosciences/grass:6 ) gps? ( dev-libs/expat ) gsl? ( sci-libs/gsl )" # FIXME: what do these do, how to configure with/without them #hdf? ( sci-libs/hdf ) #jpeg2k ( media-libs/jasper ) #tiff ( media-libs/tiff ) #app-text/txt2tags RDEPEND="${DEPEND} dev-util/cmake sys-devel/bison sys-devel/flex python? ( dev-lang/python dev-python/PyQt4 >=dev-python/sip-4.5 ) gps? ( sci-geosciences/gpsbabel )" S=${WORKDIR}/${MY_P} pkg_setup() { if has_version "