summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2022-01-18 17:44:22 +0700
committerAndrey Grozin <grozin@gentoo.org>2022-01-18 17:44:22 +0700
commite2482fb47db65566ffc247ad26c0c4a2fb9a39a8 (patch)
tree10cdd79e3f7ed1d6d6ab6419115f848cc867b107 /sci-geosciences
parentdev-java/bcel: remove test restrictions for arm, arm64 and ppc64 (diff)
downloadgentoo-e2482fb47db65566ffc247ad26c0c4a2fb9a39a8.tar.gz
gentoo-e2482fb47db65566ffc247ad26c0c4a2fb9a39a8.tar.bz2
gentoo-e2482fb47db65566ffc247ad26c0c4a2fb9a39a8.zip
sci-geosciences/gpxsee: bump to 10.1
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.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index da34ad91faf7..04126b070b29 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,2 +1,3 @@
DIST gpxsee-10.0.tar.gz 4994900 BLAKE2B 5f0e59655da285461de39bcac51b65ae4965723a5a438b88eb55b22f0e9398db94edce283f0bd1218d0b78375edf9e9d3e2148079cf12c9927819a0235df7f08 SHA512 bc081fdc9000be6f605b137fe5de282d11508b994b34d1e515913e33829516893c7748d9c5a5ec2639e36e665db8dc99656364498abd0e21069a7fc34b251f9f
+DIST gpxsee-10.1.tar.gz 5118085 BLAKE2B 699b54e4d910c2f2c82ecae71b95af88170d2fa754eb9359ea8dc31e65f4f0dbbc6d8a21a9542c9e2d7eccc7b193f222ef0e066eca1366f88c609765589b8893 SHA512 a29466cab39f69e65791f5d519502b98a1659e3b307725f6e0b04261a6882ee053c8a31398304ae6fd6135460592f6063891e68cf9bde4a87106119582ebc46f
DIST gpxsee-9.12.tar.gz 4977257 BLAKE2B 30060478cef417f8d9fe87878ecc1338336e48906eaa3eb7735d086b47fa8a7cc2154e8719e0f92109d4e4f881d90f6ebe1f6088a9684fdde42672c4eef9d664 SHA512 47c414f5a6fd61b93119820b24f49a73575a260c986e3403776322f15ff514de82a23444369ef4803fa82c512f9af49f5acc28e719633173c7961f2d34b7cd4b
diff --git a/sci-geosciences/gpxsee/gpxsee-10.1.ebuild b/sci-geosciences/gpxsee/gpxsee-10.1.ebuild
new file mode 100644
index 000000000000..05603a86cae0
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-10.1.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
+}