summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-04-07 16:47:42 +0000
committerJustin Lecher <jlec@gentoo.org>2013-04-07 16:47:42 +0000
commitb63c35943306303d4fbe7f00945adaea7e942411 (patch)
treea0fcc2139e5d5e7133b030e0bfd822a22bc43642
parentmedia-libs/memphis: Make all ebuilds use vala.eclass, #463720 (diff)
downloadgentoo-2-b63c35943306303d4fbe7f00945adaea7e942411.tar.gz
gentoo-2-b63c35943306303d4fbe7f00945adaea7e942411.tar.bz2
gentoo-2-b63c35943306303d4fbe7f00945adaea7e942411.zip
sci-geosciences/gpx-viewer: Make all ebuilds use vala.eclass, #463720
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
-rw-r--r--sci-geosciences/gpx-viewer/ChangeLog8
-rw-r--r--sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild13
-rw-r--r--sci-geosciences/gpx-viewer/metadata.xml8
3 files changed, 16 insertions, 13 deletions
diff --git a/sci-geosciences/gpx-viewer/ChangeLog b/sci-geosciences/gpx-viewer/ChangeLog
index 29dc4ef07b12..0c1ee27f40a3 100644
--- a/sci-geosciences/gpx-viewer/ChangeLog
+++ b/sci-geosciences/gpx-viewer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-geosciences/gpx-viewer
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpx-viewer/ChangeLog,v 1.2 2012/10/07 10:02:10 jlec Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpx-viewer/ChangeLog,v 1.3 2013/04/07 16:47:42 jlec Exp $
+
+ 07 Apr 2013; Justin Lecher <jlec@gentoo.org> gpx-viewer-0.3.0.ebuild,
+ metadata.xml:
+ Make all ebuilds use vala.eclass, #463720
07 Oct 2012; Justin Lecher <jlec@gentoo.org> gpx-viewer-0.3.0.ebuild:
Remove last bit from old naming
diff --git a/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild b/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild
index 9890f6f9d9d8..4c768f3fabb1 100644
--- a/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild
+++ b/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild,v 1.2 2012/10/07 10:02:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild,v 1.3 2013/04/07 16:47:42 jlec Exp $
EAPI=4
AUTOTOOLS_AUTORECONF=yes
+VALA_MIN_API_VERSION=0.16
-inherit autotools-utils gnome2
+inherit autotools-utils gnome2 vala
DESCRIPTION="Simple program to visualize a gpx file"
HOMEPAGE="http://blog.sarine.nl/gpx-viewer/"
@@ -17,27 +18,25 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
-MY_VALA_VERSION=0.16
-
RDEPEND="
- dev-lang/vala:${MY_VALA_VERSION}
dev-libs/gdl:3
dev-libs/glib:2
dev-libs/libxml2:2
media-libs/libchamplain:0.12[gtk]
x11-libs/gtk+:3"
DEPEND="${RDEPEND}
+ ${vala_depend}
>=dev-util/intltool-0.21
virtual/pkgconfig"
src_prepare() {
- export VALAC="$(type -P valac-${MY_VALA_VERSION})"
sed \
-e '/desktopdir/s:$(DESTDIR)::g' \
-i Makefile.am || die
sed \
-e '/MimeType/s:$:;:g' \
-i data/gpx-viewer.desktop.in || die
+ vala_src_prepare
autotools-utils_src_prepare
}
diff --git a/sci-geosciences/gpx-viewer/metadata.xml b/sci-geosciences/gpx-viewer/metadata.xml
index 36c93717c779..aab18fda6717 100644
--- a/sci-geosciences/gpx-viewer/metadata.xml
+++ b/sci-geosciences/gpx-viewer/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-geosciences</herd>
- <maintainer>
- <email>jlec@gentoo.org</email>
- </maintainer>
+ <herd>sci-geosciences</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>