summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-10-06 11:27:52 +0000
committerJustin Lecher <jlec@gentoo.org>2012-10-06 11:27:52 +0000
commitbb05f8f4283e67b8e1b5dd013bff67a2eb769059 (patch)
tree444d987fd33f11d43f6d5fd4d3578a487752325c /sci-geosciences
parentsci-geosciences/gpxviewer: Drop old patch (diff)
downloadhistorical-bb05f8f4283e67b8e1b5dd013bff67a2eb769059.tar.gz
historical-bb05f8f4283e67b8e1b5dd013bff67a2eb769059.tar.bz2
historical-bb05f8f4283e67b8e1b5dd013bff67a2eb769059.zip
sci-geosciences/gpx-viewer: Copied over from sci-geosciences/gpxviewer to fit upstream name
Package-Manager: portage-2.2.0_alpha128/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpx-viewer/ChangeLog10
-rw-r--r--sci-geosciences/gpx-viewer/gpx-viewer-0.3.0.ebuild61
-rw-r--r--sci-geosciences/gpx-viewer/metadata.xml8
3 files changed, 79 insertions, 0 deletions
diff --git a/sci-geosciences/gpx-viewer/ChangeLog b/sci-geosciences/gpx-viewer/ChangeLog
new file mode 100644
index 000000000000..fa320bd47c05
--- /dev/null
+++ b/sci-geosciences/gpx-viewer/ChangeLog
@@ -0,0 +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.1 2012/10/06 11:27:52 jlec Exp $
+
+*gpx-viewer-0.3.0 (06 Oct 2012)
+
+ 06 Oct 2012; Justin Lecher <jlec@gentoo.org> +gpx-viewer-0.3.0.ebuild,
+ +metadata.xml:
+ Copied over from sci-geosciences/gpxviewer to fit upstream name
+
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
+}
diff --git a/sci-geosciences/gpx-viewer/metadata.xml b/sci-geosciences/gpx-viewer/metadata.xml
new file mode 100644
index 000000000000..36c93717c779
--- /dev/null
+++ b/sci-geosciences/gpx-viewer/metadata.xml
@@ -0,0 +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>
+</pkgmetadata>