summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2024-11-26 21:01:34 +0700
committerAndrey Grozin <grozin@gentoo.org>2024-11-26 21:01:34 +0700
commit0df6a875eb62d8648ff3e36513b22bed87c060b7 (patch)
treecabe6b3b98adc6fea0e138378eef8fd3d9940cfb /sci-geosciences
parentmail-client/alpine: list of patches must be sorted (diff)
downloadgentoo-0df6a875eb62d8648ff3e36513b22bed87c060b7.tar.gz
gentoo-0df6a875eb62d8648ff3e36513b22bed87c060b7.tar.bz2
gentoo-0df6a875eb62d8648ff3e36513b22bed87c060b7.zip
sci-geosciences/gpxsee: bump to 13.32
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.32.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 59b96644d270..be837beddcad 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -2,3 +2,4 @@ DIST gpxsee-13.22.tar.gz 5634011 BLAKE2B b708ea4a81679109ce4e67302e336e070a50879
DIST gpxsee-13.26.tar.gz 5638599 BLAKE2B 9d13d3455d0ea59e4f03daa89e3668a634e6f1a5fd5c129e6d031920fddc238303c52aaae04776a51655e221c7facba4c63d7f5ede1c144cb32202427c52c26c SHA512 9a56930fb3f7cdf95d2ca6e4daebb16e5f670bc715489ed02e51e3b4b5e08ec397524de219c5e7142910c826cda60a46c3dd467572769e60239b667aa306d59e
DIST gpxsee-13.27.tar.gz 5639124 BLAKE2B f3e10b1580e6e96f106d789abf9273530a36f528e4971b430c4b83d0a056f065a08faca28d850a7983df7fc7cc5fcab1d564a88d4337ad7ea4c33b4e2b22579c SHA512 88ed97d6a6813385ce9194d7b18935f410fc69f25072f0a5de20ac19464a1be9ec7c28ac9de2533b3153bb6d43ab2f84428faef0c687d2dffbb39bad4df1c96b
DIST gpxsee-13.30.tar.gz 5550185 BLAKE2B 753b8c268451e8c1b11366c4f4f1f51c3250b05738d2c70f18a1d6df7bf3dc97ba1229026b5732357d870e88866b614b163497f825eff1516b4208ce79ca9219 SHA512 2632b5b01ad913cd99779cb5bd11523434de6d960343b062e779f7b6aea95854fda2e3e4eefa4f105d58fb9cb5e62777dbad198fa6999ba26f4bbc5b572288c3
+DIST gpxsee-13.32.tar.gz 5551655 BLAKE2B c04aca4c79202b32ca49e2e609e497cac4a92bff08a5b075fea0a8b3d1bbbed9dd5e6a1b5725ffe9a79cdce28b989333c49b0372ef518a1a467aa4ee287eda21 SHA512 2b607742bb0ee2f173721544e205fa98e25c2bf23349811a039a5fd24524edf7e9cba5b64733c7edaa0415bb4b22bf3c4362f9fff342aadf14afc9e1ecd35864
diff --git a/sci-geosciences/gpxsee/gpxsee-13.32.ebuild b/sci-geosciences/gpxsee/gpxsee-13.32.ebuild
new file mode 100644
index 000000000000..b754057f64d5
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.32.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 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_CN"
+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/ https://github.com/tumic0/GPXSee"
+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"
+IUSE="qt6"
+
+RDEPEND="
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtpositioning:6
+ dev-qt/qtserialport:6
+ )
+ !qt6? (
+ 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="
+ qt6? ( dev-qt/qttools:6 )
+ !qt6? ( 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() {
+ if use qt6; then
+ $(qt6_get_bindir)/lrelease gpxsee.pro || die "lrelease failed"
+ eqmake6 gpxsee.pro
+ else
+ $(qt5_get_bindir)/lrelease gpxsee.pro || die "lrelease failed"
+ eqmake5 gpxsee.pro
+ fi
+ emake
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.md
+}