summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-02-21 17:54:10 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-02-21 17:54:10 +0700
commitfcd70edafda9440f7b4f53bddd37d85d3a07012a (patch)
treee913ec019e874279ace1b09728dfce9dae88c83a /sci-geosciences
parentsci-geosciences/routino: rm old revision (diff)
downloadgentoo-fcd70edafda9440f7b4f53bddd37d85d3a07012a.tar.gz
gentoo-fcd70edafda9440f7b4f53bddd37d85d3a07012a.tar.bz2
gentoo-fcd70edafda9440f7b4f53bddd37d85d3a07012a.zip
sci-geosciences/gpxsee: bump to 12.1
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-12.1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index a1915ef3d186..d5ad7d4c22a9 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-11.5.tar.gz 5336855 BLAKE2B 2886def6bcb812d33361b5cf6d77b5da5adc203552449ded38cd01bfb451b055e7a0d8383f44d1db41b5b797f7b8763368a43825b3d016b972b0adfdca8ce48f SHA512 56ea5218178ea2e8504e775ff83d8335b636a04f2f428072883f36159ae83f1f2b0568f55028d696e8055eac0a398086b87d4f31456c07530c5b41d291a760cc
DIST gpxsee-12.0.tar.gz 5486784 BLAKE2B 489a946475757a477b5c0949e310d4f3986793979ed8344c98a86b63492faa863bd3843f4f35d9d2b0de8f24d45838b8477396aa46d313fd8177d2bfef1fc38c SHA512 be2e0453aae924f8712395a2506d425685a82df68f48661e6f95ab154c37bf9226432bcc58b29f1f56142e0a4f6fa55b7774b1be5ea40f02da26bfb40020914f
+DIST gpxsee-12.1.tar.gz 5487589 BLAKE2B 181fbc668ff389ac4ab7c26e8d629b8b19c581c53014dda6d4d339b67456ae8b18a1d3feaecb40c775ca1d8e8ca85e4c0da3245a0beb11f2a07a403ccd0dde01 SHA512 25b7788104c7b5f4544ed1fd0429965af82f77e9648b2caeec320addc219ba5e6c3e6d785ce7dd2aa6f5e969525fd7e6eef61b63ab02f9baa506b7b53aed1d50
diff --git a/sci-geosciences/gpxsee/gpxsee-12.1.ebuild b/sci-geosciences/gpxsee/gpxsee-12.1.ebuild
new file mode 100644
index 000000000000..d3040a4c8b15
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-12.1.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
+}