summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/gpx-viewer')
-rw-r--r--sci-geosciences/gpx-viewer/Manifest1
-rw-r--r--sci-geosciences/gpx-viewer/files/gpx-viewer-0.4.0-crash-backport24
-rw-r--r--sci-geosciences/gpx-viewer/gpx-viewer-0.4.0-r1.ebuild54
-rw-r--r--sci-geosciences/gpx-viewer/metadata.xml8
4 files changed, 87 insertions, 0 deletions
diff --git a/sci-geosciences/gpx-viewer/Manifest b/sci-geosciences/gpx-viewer/Manifest
new file mode 100644
index 000000000000..4f1d7f98ee3d
--- /dev/null
+++ b/sci-geosciences/gpx-viewer/Manifest
@@ -0,0 +1 @@
+DIST gpx-viewer-0.4.0.tar.gz 534735 SHA256 956acfaf870ac436300cd9953dece630df7fd7dff8e4ae2577a6002884466f80 SHA512 ab65d872509df605c07110c0a5ffef5c9c385f39cde841fce2d593a58abd3e48f1124a48c11a8d599fad9430cd7b71969da0880b3d1fe4b952ade4b95929914a WHIRLPOOL a46ed33ad9d0579f923b7de1cd42cf48e46c2abb24151e2061d9956f2521569d4035874fff138a78bc71fe7d3922e39396dd6a4fa914c897137bf368cd00072a
diff --git a/sci-geosciences/gpx-viewer/files/gpx-viewer-0.4.0-crash-backport b/sci-geosciences/gpx-viewer/files/gpx-viewer-0.4.0-crash-backport
new file mode 100644
index 000000000000..2dff4915dffe
--- /dev/null
+++ b/sci-geosciences/gpx-viewer/files/gpx-viewer-0.4.0-crash-backport
@@ -0,0 +1,24 @@
+=== modified file 'data/gpx-viewer-file-chooser.ui'
+--- data/gpx-viewer-file-chooser.ui 2012-03-04 10:18:33 +0000
++++ data/gpx-viewer-file-chooser.ui 2015-06-01 19:44:21 +0000
+@@ -7,7 +7,6 @@
+ <property name="title" translatable="yes">Choose gpx file(s)</property>
+ <property name="icon_name">gpx-viewer</property>
+ <property name="type_hint">normal</property>
+- <property name="has_separator">False</property>
+ <property name="select_multiple">True</property>
+ <property name="filter">gpx_viewer_file_chooser_filter</property>
+ <property name="local_only">False</property>
+
+=== modified file 'data/gpx-viewer-preferences.ui'
+--- data/gpx-viewer-preferences.ui 2012-03-06 08:49:48 +0000
++++ data/gpx-viewer-preferences.ui 2015-06-01 19:44:21 +0000
+@@ -5,7 +5,6 @@
+ <object class="GtkDialog" id="preferences_dialog">
+ <property name="border_width">5</property>
+ <property name="type_hint">normal</property>
+- <property name="has_separator">False</property>
+ <signal name="response" handler="gpx_viewer_preferences_close"/>
+ <child internal-child="vbox">
+ <object class="GtkVBox" id="dialog-vbox1">
+
diff --git a/sci-geosciences/gpx-viewer/gpx-viewer-0.4.0-r1.ebuild b/sci-geosciences/gpx-viewer/gpx-viewer-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..fd357ccc9ab8
--- /dev/null
+++ b/sci-geosciences/gpx-viewer/gpx-viewer-0.4.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+VALA_MIN_API_VERSION=0.16
+
+inherit autotools-utils gnome2 vala
+
+DESCRIPTION="Simple program to visualize a gpx file"
+HOMEPAGE="http://blog.sarine.nl/gpx-viewer/"
+SRC_URI="http://edge.launchpad.net/${PN}/trunk/0.4.0/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND="
+ dev-libs/gdl:3
+ dev-libs/glib:2
+ dev-libs/libxml2:2
+ >=media-libs/clutter-gtk-1.4.0:1.0
+ >=media-libs/libchamplain-0.12.3:0.12[gtk]
+ x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+ $(vala_depend)
+ >=dev-util/intltool-0.21
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-crash-backport )
+
+src_prepare() {
+ vala_src_prepare
+ 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..aab18fda6717
--- /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>