summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-06-13 09:38:40 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-06-13 09:38:40 +0000
commitfbd3971bdabe2779a06ac21d7536837eeba967cd (patch)
treeaf2d44acca7124db2e5a94b4c8eb861266b1cdf0 /sci-geosciences
parentVersion bump. Fixes bug 320725. Thanks Priit Laes <plaes@plaes.org> for the r... (diff)
downloadhistorical-fbd3971bdabe2779a06ac21d7536837eeba967cd.tar.gz
historical-fbd3971bdabe2779a06ac21d7536837eeba967cd.tar.bz2
historical-fbd3971bdabe2779a06ac21d7536837eeba967cd.zip
Revision bump to work with latest grass.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/qgis/ChangeLog8
-rw-r--r--sci-geosciences/qgis/Manifest3
-rw-r--r--sci-geosciences/qgis/qgis-1.4.0-r1.ebuild94
3 files changed, 103 insertions, 2 deletions
diff --git a/sci-geosciences/qgis/ChangeLog b/sci-geosciences/qgis/ChangeLog
index 78af83d7cd1b..b9cd37069ae2 100644
--- a/sci-geosciences/qgis/ChangeLog
+++ b/sci-geosciences/qgis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-geosciences/qgis
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/ChangeLog,v 1.12 2010/05/29 13:42:30 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/ChangeLog,v 1.13 2010/06/13 09:38:40 scarabeus Exp $
+
+*qgis-1.4.0-r1 (13 Jun 2010)
+
+ 13 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ +qgis-1.4.0-r1.ebuild:
+ Revision bump to work with latest grass.
29 May 2010; Kacper Kowalik <xarthisius@gentoo.org> qgis-1.4.0.ebuild:
Fixing installation of examples wrt bug 321965.
diff --git a/sci-geosciences/qgis/Manifest b/sci-geosciences/qgis/Manifest
index 89acb978d333..4a276b757b4a 100644
--- a/sci-geosciences/qgis/Manifest
+++ b/sci-geosciences/qgis/Manifest
@@ -1,6 +1,7 @@
AUX qgis-1.4.0-gcc45.patch 536 RMD160 78966492091d7b9a249fce13d892881d82d25d5a SHA1 6ea4ea20d346a4f4df7bb043f779afebd831a606 SHA256 909d0699d8c203ff3198261d46de770ed3b6da3b9d77be7315c895539564b922
DIST qgis_1.4.0.tar.gz 17285943 RMD160 47486732c8fe37aa6864d09c7420be22de5ea802 SHA1 105f353f36e9625d1eb15f1a315882f214dbe026 SHA256 bbe07eedec4bda95cca994002941b91fd0e50d5cdee2bf79be0c4f7b930cc7da
DIST qgis_sample_data.tar.gz 13601736 RMD160 048f6f984a8f2a03b0700896acfd6d345d53f1d0 SHA1 024aac8ac32c41ee9fe507599d197644c78f87a1 SHA256 a31c54056776e8476e1f959870830f850423645cfb80d88811f3b365c29f2b4a
+EBUILD qgis-1.4.0-r1.ebuild 2323 RMD160 8745ccf0eb86e511029bdf25dc85cad022cfa212 SHA1 b90e3b002716ec60be733427ad370a6bb7d1da82 SHA256 85763fcbc6cbe44850cb9d5050ff237419a54d46280f2fb09418d59507aa287f
EBUILD qgis-1.4.0.ebuild 2580 RMD160 5c570b825c54ca4e10aac914eb1a143f528ee13e SHA1 dd8dc4d8c4eeffac3d3b07ababc6ad2a356b2744 SHA256 c7d0ea661962c03097abef185bbc0363f31663a383f92b415cc913b404f61493
-MISC ChangeLog 2036 RMD160 e1e5d6ac9f1c354268781c9a0cf1fb45ba1939a9 SHA1 2849dd54a385a0407141bc2678922108553a89b6 SHA256 c54a114abcb8b1747f981db941be7d58e274d52d02ef774b956274af2671f5b2
+MISC ChangeLog 2189 RMD160 cabae5b5ecfcf78962cccd2fc339cd5f72716f5c SHA1 b3c4290adabf9d00022b45725f2bdd1dd1018eb0 SHA256 a2f582e33b8f7b3e71bf13e5dd7c947adc57970d51a25c50fe7f0c871f545e32
MISC metadata.xml 664 RMD160 586f9cc0e1fcdf0f7610a749dfd766b468487196 SHA1 45e80ed6b803f6e8cec7b25cd32443a17efe519d SHA256 85807d824103a40c5e236cdf9fc287c0bf70b511274818a2242ac6efc203ff21
diff --git a/sci-geosciences/qgis/qgis-1.4.0-r1.ebuild b/sci-geosciences/qgis/qgis-1.4.0-r1.ebuild
new file mode 100644
index 000000000000..11b4dcd80bdf
--- /dev/null
+++ b/sci-geosciences/qgis/qgis-1.4.0-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/qgis/qgis-1.4.0-r1.ebuild,v 1.1 2010/06/13 09:38:40 scarabeus Exp $
+
+EAPI="2"
+
+PYTHON_USE_WITH="sqlite"
+PYTHON_DEPEND="python? 2"
+inherit python cmake-utils eutils
+
+DESCRIPTION="User friendly Geographic Information System"
+HOMEPAGE="http://www.qgis.org/"
+
+SRC_URI="http://download.osgeo.org/${PN}/src/${PN}_${PV}.tar.gz
+ examples? ( http://download.osgeo.org/qgis/data/qgis_sample_data.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples gps grass gsl postgres python sqlite"
+
+RDEPEND=">=sci-libs/gdal-1.6.1
+ x11-libs/qt-core:4[qt3support]
+ x11-libs/qt-gui:4
+ x11-libs/qt-svg:4
+ x11-libs/qt-sql:4
+ x11-libs/qt-webkit:4
+ sci-libs/geos
+ sci-libs/proj
+ gps? (
+ dev-libs/expat
+ sci-geosciences/gpsbabel
+ )
+ grass? (
+ >=sci-geosciences/grass-6.4.0_rc6
+ )
+ gsl? ( sci-libs/gsl )
+ postgres? ( >=virtual/postgresql-base-8 )
+ python? ( dev-python/PyQt4[sql,svg] )
+ sqlite? ( dev-db/sqlite:3 )"
+
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc45.patch
+}
+
+src_configure() {
+ local mycmakeargs
+ mycmakeargs+=(
+ "-DQGIS_MANUAL_SUBDIR=/share/man/"
+ "-DBUILD_SHARED_LIBS:BOOL=ON"
+ "-DBINDINGS_GLOBAL_INSTALL:BOOL=ON"
+ "-DQGIS_LIB_SUBDIR=$(get_libdir)"
+ "-DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis"
+ $(cmake-utils_use_with postgres POSTGRESQL)
+ $(cmake-utils_use_with grass)
+ $(cmake-utils_use_with gps EXPAT)
+ $(cmake-utils_use_with gsl)
+ $(cmake-utils_use_with python BINDINGS)
+ $(cmake-utils_use_with sqlite SPATIALITE)
+ )
+ use grass && mycmakeargs+=( "-DGRASS_PREFIX=/usr/" )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS BUGS ChangeLog README SPONSORS CONTRIBUTORS || die
+
+ newicon images/icons/qgis-icon.png qgis.png || die
+ make_desktop_entry qgis "Quantum GIS " qgis
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r "${WORKDIR}"/qgis_sample_data/* || die "Unable to install examples"
+ fi
+}
+
+pkg_postinst() {
+ if use postgres; then
+ elog "If you don't intend to use an external PostGIS server"
+ elog "you should install:"
+ elog " dev-db/postgis"
+ fi
+}