summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2024-02-15 11:38:46 +0700
committerAndrey Grozin <grozin@gentoo.org>2024-02-15 11:38:46 +0700
commit1c94865c0b1d1c8a7090b2ee3c180ad8b3cba1b5 (patch)
treebeb3b5205c3ba8a2a68c8442ddb24f1d49243287 /sci-geosciences
parentapp-text/crqt-ng: remove old version (diff)
downloadgentoo-1c94865c0b1d1c8a7090b2ee3c180ad8b3cba1b5.tar.gz
gentoo-1c94865c0b1d1c8a7090b2ee3c180ad8b3cba1b5.tar.bz2
gentoo-1c94865c0b1d1c8a7090b2ee3c180ad8b3cba1b5.zip
sci-geosciences/gpxsee: bump to 13.16
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.16.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 961d09801046..79955df7234a 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,2 +1,3 @@
DIST gpxsee-13.14.tar.gz 5552553 BLAKE2B 693af0d57fc923b7ccaeace7c52f76bba4749dee9bae4f7593dc350cfe4c89bf2212a32fa47a52d39cde2f91fcc53675867b7be6b9241daef615eda388a8cf53 SHA512 af21cfa160bfdf21f3537da254e0f079063b827a4fe008245e9b67d50735480a82138d1a5aad119fb73397ca2d53b98c2dfb83b3419f32c3339876050c5f4816
DIST gpxsee-13.15.tar.gz 5552897 BLAKE2B 3817d824692064e4c15b3c32a8d3d8982899cc0de1ff2f01b6ee1a11992b41f9b39b758cea2ebe2aaff3de3dba3fceb0a08e10d76cf4801c2e794b8d081e6074 SHA512 4c80dbe46c47642dd994e4766ab6fc0e9509f43f7727160a7affeaa19efe12015d9eb04d9d584aac85f3d024699af85fab191097e5a6f7cb53f58295ddf88e32
+DIST gpxsee-13.16.tar.gz 5563941 BLAKE2B 0264d414b257965a4ead4892043532f8796a64f075d16c6c420023b01c19e290b78b41c624b76ead61b550fe14aa754511c9411c3316dd66558a7af66b37cf32 SHA512 8fe462d3ec9c25ea40df47c23bfe072ec44ee4a90d4e780cca955babeeffc7b53e3cc376a00ac49accac15fa88ae456b2aaf41235793da4db0e513932e173b74
diff --git a/sci-geosciences/gpxsee/gpxsee-13.16.ebuild b/sci-geosciences/gpxsee/gpxsee-13.16.ebuild
new file mode 100644
index 000000000000..a06e28411dd2
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.16.ebuild
@@ -0,0 +1,75 @@
+# 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"
+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"
+IUSE="qt6"
+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="
+ 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
+}