commit:     ae338f7c398b4e6ce6990905717b4318b9ddc75e
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 17:40:05 2018 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 17:41:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae338f7c

sci-geosciences/gpxsee: initial import

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-geosciences/gpxsee/Manifest          |  1 +
 sci-geosciences/gpxsee/gpxsee-5.1.ebuild | 72 ++++++++++++++++++++++++++++++++
 sci-geosciences/gpxsee/metadata.xml      | 18 ++++++++
 3 files changed, 91 insertions(+)

diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
new file mode 100644
index 00000000000..ed9567fd85a
--- /dev/null
+++ b/sci-geosciences/gpxsee/Manifest
@@ -0,0 +1 @@
+DIST GPXSee-5.1.tar.gz 926296 BLAKE2B 
77685685229869bf8bb6c7c71e49c2b2a0a93e7b1d2c16912f2ddc2fa5b779e92a650760c726b4f17b0dcc5154783d3f1c6ab69b44b20257549dc0cd13669d8b
 SHA512 
e963228d168822f9796ec1e5244a5eefcf0ca24f424dd579531fe4749f5d946724b4e76f2c2ab028776d87df6e593e06d04963c2e1e338ec0d12d729be646723

diff --git a/sci-geosciences/gpxsee/gpxsee-5.1.ebuild 
b/sci-geosciences/gpxsee/gpxsee-5.1.ebuild
new file mode 100644
index 00000000000..adb87d2d773
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-5.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PLOCALES="cs de fi fr ru sv"
+inherit qmake-utils l10n xdg-utils gnome2-utils
+
+MY_PN="GPXSee"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and 
nmea files"
+HOMEPAGE="http://www.gpxsee.org/";
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="dev-qt/qtwidgets:5
+       dev-qt/qtgui:5
+       dev-qt/qtprintsupport:5
+       dev-qt/qtnetwork:5
+       dev-qt/qtcore:5"
+DEPEND="${RDEPEND}
+       dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+       default
+
+       l10n_find_plocales_changes lang "${PN}_" '.ts'
+
+       rm_ts() {
+               sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
+       }
+
+       l10n_for_each_disabled_locale_do rm_ts
+}
+
+src_compile() {
+       lrelease gpxsee.pro
+       eqmake5 gpxsee.pro
+       emake
+}
+
+src_install() {
+       newbin ${MY_PN} ${PN}
+       dodoc README.md
+       insinto /usr/share/${PN}
+       doins -r pkg/maps pkg/csv
+       insinto /usr/share/${PN}/translations
+       doins lang/*.qm
+       insinto /usr/share/applications
+       doins pkg/${PN}.desktop
+       insinto /usr/share/mime/packages
+       doins pkg/${PN}.xml
+       insinto /usr/share/pixmaps
+       doins icons/${PN}.png
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+       gnome2_icon_cache_update
+}

diff --git a/sci-geosciences/gpxsee/metadata.xml 
b/sci-geosciences/gpxsee/metadata.xml
new file mode 100644
index 00000000000..9e1420e8d7d
--- /dev/null
+++ b/sci-geosciences/gpxsee/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>gro...@gentoo.org</email>
+    <name>Andrey Grozin</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>s...@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription lang="en">
+    GPXSee is a GPS log file viewer and analyzer that supports GPX, TCX, KML, 
FIT, IGC and NMEA files.
+  </longdescription>
+  <upstream>
+    <remote-id type="sourceforge">gpxsee</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to