summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-04-12 19:15:21 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-04-12 19:15:47 +0700
commit37b6c866ff9242e7d7eedb6b098938dc3446958b (patch)
tree70aa2667609513bca6152ccbaa1c20839b77c0b8 /sci-geosciences/gpxsee
parentdev-qt/qtlocation: Fix build with libcxx (diff)
downloadgentoo-37b6c866ff9242e7d7eedb6b098938dc3446958b.tar.gz
gentoo-37b6c866ff9242e7d7eedb6b098938dc3446958b.tar.bz2
gentoo-37b6c866ff9242e7d7eedb6b098938dc3446958b.zip
sci-geosciences/gpxsee: bump to 12.4
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r--sci-geosciences/gpxsee/Manifest1
-rw-r--r--sci-geosciences/gpxsee/gpxsee-12.4.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 1a59dd36c1be..792c7e829801 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-12.2.tar.gz 5483703 BLAKE2B 68e91e061fff8f034dd5fe66578f2d01aa6b4b4e2621ba65d1b45e08cf8f180b2f142a90d444f1580cf4f7d83bba7a99027f90dc227bbbcad8d9289afe059858 SHA512 46c37ad2ef6af55e2a5a45fdc1baf0e26b67cff00b3c727f11a835fe08f9f250369d68ec8f9a30eb385d2bfabb83980ae697f99fd1d474d673f174049d91bb2e
DIST gpxsee-12.3.tar.gz 5485192 BLAKE2B 928506054b937eed86af8c34dfa5ab3af28f2aa4bb4c99865a89fe6c94355a63af0a3013845d1237adc14a15aadf44896e3c7467e27f8bbe2c92b0eff53529c2 SHA512 4244e37211b33d97ebfad4c10a718235707fa1d136ad04578870e870759cbcaca2ff34375c647153047d7be88a026aba39ff5b636012ddbda2ce8c4e715de026
+DIST gpxsee-12.4.tar.gz 5485951 BLAKE2B 524d3a6deb806f537dbb5393384dc57112a853bb3af1a91b8d7d6a95c6942393ef0b34bfe3f730fbe266710188cd7c06f924ba0155428e6818a64a4e65cc92ac SHA512 45c4dd36b39ab7b0d7f62057988ab114dcf75b80273fa3796766f9246dc6ed41b3dd0a24fc921f0025613724d138ad5f29fc8322dee23627fad55f648340ff3c
diff --git a/sci-geosciences/gpxsee/gpxsee-12.4.ebuild b/sci-geosciences/gpxsee/gpxsee-12.4.ebuild
new file mode 100644
index 000000000000..d3040a4c8b15
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-12.4.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
+}