From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1023964-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 38D221382C5
	for <garchives@archives.gentoo.org>; Mon, 14 May 2018 08:33:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 60B87E0878;
	Mon, 14 May 2018 08:33:20 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 31CAAE0878
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 May 2018 08:33:20 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C073A335C8B
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 May 2018 08:33:18 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3706A2B
	for <gentoo-commits@lists.gentoo.org>; Mon, 14 May 2018 08:33:17 +0000 (UTC)
From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" <grozin@gentoo.org>
Message-ID: <1526286746.89a63b37facc4f2ca75b10a699f86a29653e6daa.grozin@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpxsee/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-geosciences/gpxsee/Manifest sci-geosciences/gpxsee/gpxsee-5.10.ebuild
X-VCS-Directories: sci-geosciences/gpxsee/
X-VCS-Committer: grozin
X-VCS-Committer-Name: Andrey Grozin
X-VCS-Revision: 89a63b37facc4f2ca75b10a699f86a29653e6daa
X-VCS-Branch: master
Date: Mon, 14 May 2018 08:33:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 8bb949fe-dd40-41d9-a38a-99b44e0d77c4
X-Archives-Hash: 1aa150f48bf971d1c7c7919d873a3ccc

commit:     89a63b37facc4f2ca75b10a699f86a29653e6daa
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Mon May 14 08:32:26 2018 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Mon May 14 08:32:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89a63b37

sci-geosciences/gpxsee: bump to 5.10

Closes: https://bugs.gentoo.org/654738
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-geosciences/gpxsee/Manifest           |  1 +
 sci-geosciences/gpxsee/gpxsee-5.10.ebuild | 72 +++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index ed9567fd85a..32fd3a25162 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1 +1,2 @@
 DIST GPXSee-5.1.tar.gz 926296 BLAKE2B 77685685229869bf8bb6c7c71e49c2b2a0a93e7b1d2c16912f2ddc2fa5b779e92a650760c726b4f17b0dcc5154783d3f1c6ab69b44b20257549dc0cd13669d8b SHA512 e963228d168822f9796ec1e5244a5eefcf0ca24f424dd579531fe4749f5d946724b4e76f2c2ab028776d87df6e593e06d04963c2e1e338ec0d12d729be646723
+DIST GPXSee-5.10.tar.gz 3009762 BLAKE2B 6152b5268c1715ccd6c2d080a5a720a9369b09834a0d192eb37ca95c10948613c49cd078ff4ffeb4684d7305f557592cee34c1ab2fab1cad49cc01d956844eec SHA512 74f99d18c692e7411ec7350c5a2f3618884b5e84e799b4999b5988a8c5a8af000ebe325b0523dbb7daff1fc0e05687a3d8f53d136934c9ca8cd791b1eee445db

diff --git a/sci-geosciences/gpxsee/gpxsee-5.10.ebuild b/sci-geosciences/gpxsee/gpxsee-5.10.ebuild
new file mode 100644
index 00000000000..adb87d2d773
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-5.10.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
+}