summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2022-01-21 12:50:05 +0700
committerAndrey Grozin <grozin@gentoo.org>2022-01-21 12:50:05 +0700
commitd622ce2e304f14da393b1384506b33819f409450 (patch)
treeb98e7c6c8b0f196c2b15d270d6b1f063cc4ca9ae /sci-geosciences
parentapp-text/foliate: bump to 2.6.4 (diff)
downloadgentoo-d622ce2e304f14da393b1384506b33819f409450.tar.gz
gentoo-d622ce2e304f14da393b1384506b33819f409450.tar.bz2
gentoo-d622ce2e304f14da393b1384506b33819f409450.zip
sci-geosciences/gpxsee: bump to 10.2
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpxsee/Manifest1
-rw-r--r--sci-geosciences/gpxsee/gpxsee-10.2.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 04126b070b29..ff5bcf807895 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,3 +1,4 @@
DIST gpxsee-10.0.tar.gz 4994900 BLAKE2B 5f0e59655da285461de39bcac51b65ae4965723a5a438b88eb55b22f0e9398db94edce283f0bd1218d0b78375edf9e9d3e2148079cf12c9927819a0235df7f08 SHA512 bc081fdc9000be6f605b137fe5de282d11508b994b34d1e515913e33829516893c7748d9c5a5ec2639e36e665db8dc99656364498abd0e21069a7fc34b251f9f
DIST gpxsee-10.1.tar.gz 5118085 BLAKE2B 699b54e4d910c2f2c82ecae71b95af88170d2fa754eb9359ea8dc31e65f4f0dbbc6d8a21a9542c9e2d7eccc7b193f222ef0e066eca1366f88c609765589b8893 SHA512 a29466cab39f69e65791f5d519502b98a1659e3b307725f6e0b04261a6882ee053c8a31398304ae6fd6135460592f6063891e68cf9bde4a87106119582ebc46f
+DIST gpxsee-10.2.tar.gz 5118104 BLAKE2B 5651b68008f28394a76d7b04e6bd9721b85e388de8a90a7ceb84cd71950367a216491079f38ed759340d5b6abb7561ca5a61ab80d4f5d8d5be9f24f408d3fd50 SHA512 802d382d95648125f589c000f63e815570e8eb6c6f00feed75a84efe06739adf4b32a52793f841fb088a13e8b9bb8453f2d92b12d4e33a0ca336282fe1740b5f
DIST gpxsee-9.12.tar.gz 4977257 BLAKE2B 30060478cef417f8d9fe87878ecc1338336e48906eaa3eb7735d086b47fa8a7cc2154e8719e0f92109d4e4f881d90f6ebe1f6088a9684fdde42672c4eef9d664 SHA512 47c414f5a6fd61b93119820b24f49a73575a260c986e3403776322f15ff514de82a23444369ef4803fa82c512f9af49f5acc28e719633173c7961f2d34b7cd4b
diff --git a/sci-geosciences/gpxsee/gpxsee-10.2.ebuild b/sci-geosciences/gpxsee/gpxsee-10.2.ebuild
new file mode 100644
index 000000000000..05603a86cae0
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-10.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="cs da de en eo es fi fr hu it ko nb pl pt_BR ru sv tr uk zh"
+inherit desktop plocale qmake-utils xdg
+
+MY_PN="GPXSee"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea files"
+HOMEPAGE="https://www.gpxsee.org/"
+SRC_URI="https://github.com/tumic0/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsql:5
+ dev-qt/qtpositioning:5"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
+
+src_prepare() {
+ default
+
+ plocale_find_changes lang "${PN}_" '.ts'
+
+ rm_ts() {
+ sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
+ }
+
+ plocale_for_each_disabled_locale rm_ts
+}
+
+src_compile() {
+ lrelease gpxsee.pro
+ eqmake5 gpxsee.pro
+ emake
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.md
+}