summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2009-05-04 21:44:56 +0000
committerHanno Böck <hanno@gentoo.org>2009-05-04 21:44:56 +0000
commit0bf8e62962ec0bb13ff8ef3012d21fb8eaa3980e (patch)
treeb780c278b4e4b65c3d4fd7ae64a97cb0435a22af /sci-geosciences
parentstable x86, security bug 264594 (diff)
downloadgentoo-2-0bf8e62962ec0bb13ff8ef3012d21fb8eaa3980e.tar.gz
gentoo-2-0bf8e62962ec0bb13ff8ef3012d21fb8eaa3980e.tar.bz2
gentoo-2-0bf8e62962ec0bb13ff8ef3012d21fb8eaa3980e.zip
merkaartor version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/merkaartor/ChangeLog7
-rw-r--r--sci-geosciences/merkaartor/merkaartor-0.13.2.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/sci-geosciences/merkaartor/ChangeLog b/sci-geosciences/merkaartor/ChangeLog
index aa33ae3212d1..45044098a115 100644
--- a/sci-geosciences/merkaartor/ChangeLog
+++ b/sci-geosciences/merkaartor/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-geosciences/merkaartor
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/merkaartor/ChangeLog,v 1.14 2009/04/03 10:37:40 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/merkaartor/ChangeLog,v 1.15 2009/05/04 21:44:56 hanno Exp $
+
+*merkaartor-0.13.2 (04 May 2009)
+
+ 04 May 2009; Hanno Boeck <hanno@gentoo.org> +merkaartor-0.13.2.ebuild:
+ Version bump.
*merkaartor-0.13.1 (03 Apr 2009)
diff --git a/sci-geosciences/merkaartor/merkaartor-0.13.2.ebuild b/sci-geosciences/merkaartor/merkaartor-0.13.2.ebuild
new file mode 100644
index 000000000000..8cb4e606df09
--- /dev/null
+++ b/sci-geosciences/merkaartor/merkaartor-0.13.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/merkaartor/merkaartor-0.13.2.ebuild,v 1.1 2009/05/04 21:44:56 hanno Exp $
+
+EAPI="1"
+
+inherit eutils qt4
+
+DESCRIPTION="A Qt4 based map editor for the openstreetmap.org project"
+HOMEPAGE="http://www.merkaartor.org"
+SRC_URI="http://www.merkaartor.org/downloads/source/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls webkit exif proj gdal"
+DEPEND="x11-libs/qt-gui:4
+ x11-libs/qt-svg:4
+ webkit? ( >=x11-libs/qt-webkit-4.3.3 )
+ exif? ( media-gfx/exiv2 )
+ proj? ( sci-libs/proj )
+ gdal? ( sci-libs/gdal )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ local myconf
+ use webkit || myconf="${myconf} NOUSEWEBKIT=1"
+ use exif && myconf="${myconf} GEOIMAGE=1" || myconf="${myconf} GEOIMAGE=0"
+ use proj && myconf="${myconf} PROJ=1" || myconf="${myconf} PROJ=0"
+ use gdal && myconf="${myconf} GDAL=1" || myconf="${myconf} GDAL=0"
+
+ if use nls; then
+ lrelease Merkaartor.pro || die "lrelease failed"
+ fi
+
+ eqmake4 Merkaartor.pro PREFIX=/usr ${myconf} || die "eqmake4 failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "install failed"
+ dodoc AUTHORS CHANGELOG HACKING || die "dodoc failed"
+
+ newicon Icons/Mercator_100x100.png "${PN}".png || die "newicon failed"
+ make_desktop_entry "${PN}" "Merkaartor" "${PN}" "Science;Geoscience"
+}