summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-05-25 13:07:13 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-05-25 13:07:13 +0700
commit4691aca2a6b645a85d2d72357f3607deda699347 (patch)
tree40ccb30db852a27b645820a39bc58966a052dcb7 /sci-geosciences
parentmail-mta/postfix: add 3.9_pre20230524, drop 3.9_pre20230523 (diff)
downloadgentoo-4691aca2a6b645a85d2d72357f3607deda699347.tar.gz
gentoo-4691aca2a6b645a85d2d72357f3607deda699347.tar.bz2
gentoo-4691aca2a6b645a85d2d72357f3607deda699347.zip
sci-geosciences/gpxsee: bump to 13.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-13.3.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 001e5f6ee91b..a1ea0e32d118 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,3 +1,4 @@
DIST gpxsee-11.11.tar.gz 5481954 BLAKE2B a562b963c08cd7ffbd2a5e33c984365aad5c48d9dfa7e05ab0e53bc89ec434bd4412a8b220408372f2aaba5c36a27cec596102a5beb308334eee88795dcabd73 SHA512 060599f018b2058e916e4d850656e2d2247fe2dae923590438015ebf816a18446fcc737b7206bfcef945fa61187a5f7aaf19612ac1466cfeb5ffb3b7b70a9620
DIST gpxsee-13.0.tar.gz 5494687 BLAKE2B 819d60204d491443d68c83f1c3849cf9aaaaaccec00e357c03723ba9e86db2d79aca9d03fb142e23bd596840e05705a76b340dd036bb3cf4d06c57a53d83b28f SHA512 7d2dc37d52d6f63dc1377e52b6653d95207ea176c2564c613e01375a506b8fa9fa22ed5e2f506a607cf24b164758353cd404f9f86d64b51e4601efa744fe9632
DIST gpxsee-13.1.tar.gz 5494923 BLAKE2B a97e8a536884aa23da0e2d387fc0ee0761a351ca45b519680ac299ca4fa09c21fa6cc2e1a06025537eeb279a0a5c59c1c2ab855d359ada13ee715c21a9938b4d SHA512 e88eca2fbde087572f76379a8382ed4fcdc7567a41b841c30a7d421a079474cf1858e9b0e8c81d88074915ed7e8492dce4b2381ffc56bf46675d674ccba82763
+DIST gpxsee-13.3.tar.gz 5496128 BLAKE2B 9bd13e84977552f47cadaaa4eea6b73695407acfb8175dcc596098a98612c6573fbf335ebe93c8b072884569d9991321f2d2bf7bb003993ce4c650a1a492b208 SHA512 a2e017f90a14b558bc72eec6ecc27d5773c8b17817ed4bb36335ac76639b89ce7e6dc25ad396069be8b00239d97e2fb6ce20e6d6d4746f1e0e06c7d9772a23ad
diff --git a/sci-geosciences/gpxsee/gpxsee-13.3.ebuild b/sci-geosciences/gpxsee/gpxsee-13.3.ebuild
new file mode 100644
index 000000000000..d3040a4c8b15
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PLOCALES="ca cs da de en eo es fi fr hu it ko nb pl pt_BR ru sv tr uk zh"
+inherit 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"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtpositioning:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtserialport:5
+ dev-qt/qtsql:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+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() {
+ $(qt5_get_bindir)/lrelease gpxsee.pro || die "lrelease failed"
+ eqmake5 gpxsee.pro
+ emake
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.md
+}