diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-10-06 11:27:52 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-10-06 11:27:52 +0000 |
commit | 6a9bb5caca2a507a615d51987a76246427a718b7 (patch) | |
tree | 90b7fa1aadca54c9850b206ac03505a8526c9178 /sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild | |
parent | sci-geosciences/gpxviewer: Drop old patch (diff) | |
download | gentoo-2-6a9bb5caca2a507a615d51987a76246427a718b7.tar.gz gentoo-2-6a9bb5caca2a507a615d51987a76246427a718b7.tar.bz2 gentoo-2-6a9bb5caca2a507a615d51987a76246427a718b7.zip |
sci-geosciences/gpx-viewer: Copied over from sci-geosciences/gpxviewer to fit upstream name
(Portage version: 2.2.0_alpha128/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild')
-rw-r--r-- | sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild b/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild new file mode 100644 index 000000000000..286f4881af04 --- /dev/null +++ b/sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 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.1 2012/10/06 11:27:52 jlec Exp $ + +EAPI=4 + +AUTOTOOLS_AUTORECONF=yes + +inherit autotools-utils gnome2 + +DESCRIPTION="Simple program to visualize a gpx file" +HOMEPAGE="http://blog.sarine.nl/gpx-viewer/" +SRC_URI="http://edge.launchpad.net/${PN}/trunk/0.2.0/+download/${P}.tar.gz" + +LICENSE="GPL-2" +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} + >=dev-util/intltool-0.21 + virtual/pkgconfig" + +S="${WORKDIR}"/${MY_P} + +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 + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable nls) + --disable-database-updates ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile gpx_viewer_vala.stamp + autotools-utils_src_compile +} + +src_install () { + autotools-utils_src_install + dosym ../icons/hicolor/scalable/apps/gpx-viewer.svg /usr/share/pixmaps/gpx-viewer.svg +} |