summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2024-07-01 17:46:40 +0700
committerAndrey Grozin <grozin@gentoo.org>2024-07-01 17:46:40 +0700
commitb60f24626307607e7b33ae70917140bc89343c44 (patch)
tree51411eb750624911eff92347a8f5bf67ba927dde /sci-geosciences
parentnet-misc/openssh: Stabilize 9.6_p1-r5 sparc, #935272 (diff)
downloadgentoo-b60f24626307607e7b33ae70917140bc89343c44.tar.gz
gentoo-b60f24626307607e7b33ae70917140bc89343c44.tar.bz2
gentoo-b60f24626307607e7b33ae70917140bc89343c44.zip
sci-geosciences/gpxsee: bump to 13.22
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.22.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index ad82040837bd..c073427b707a 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -2,3 +2,4 @@ DIST gpxsee-13.14.tar.gz 5552553 BLAKE2B 693af0d57fc923b7ccaeace7c52f76bba4749de
DIST gpxsee-13.19.tar.gz 5613645 BLAKE2B 24f79bc88d8ca469b463abf8a8d25d013448aa2eec112dac90f8780de5efff8afcfd3bcc008ebe6efc9de4d3728a1cd29290924423205beaecb41d6f0708f477 SHA512 0d9ee02dc75e55d757fb2461eca979d02a809cbf0cc310bcdeacddaa4c6eb0d8bca7707175915c42f298e279b088defe05e36f02618b560caf3cd0f40e149922
DIST gpxsee-13.20.tar.gz 5621055 BLAKE2B 7536746873be93960c8e9b0b3656f0d6873753b778413c01755fee9bff1442aa1d1c07c7d98fba6f1588aa94238a20e6a7a7dca6848338e20ec52da9e7988c30 SHA512 ada925466874ff867ce3895852eaa0926666787685fb890d46be006b0b919a3a7074b94079eed4d480be2b54017c598c4eda04579165c291190c4f1e69d1cb6f
DIST gpxsee-13.21.tar.gz 5624365 BLAKE2B 4187fc531db5ee2006bba93b588a3b4ed798e97d6697ce4c3843054cdbf78b7dab2835be53effc5c29a575d793922ea2efa8c441dd69aae6dbb9511598ad8bc7 SHA512 ab097931588896f9389503dca5fc23326cc99efec8b83ae2ed7555e3f021d3f36d1948ac00df0028781ffe7a4261aa406153d07388b0c6bf1ad3405604d27df3
+DIST gpxsee-13.22.tar.gz 5634011 BLAKE2B b708ea4a81679109ce4e67302e336e070a508799ba8bbcf67121b617390e3808e2a054170e57a112c734fa7d22698f71da5f902ec704fda0f0fcf2818495b29f SHA512 0a12304c608ee86ebdd226a3179fde538ac0f64d5300ede4a032be373059ccbe1dcbcb6db76326c9988620b9fd41dd0f36e8e922b305a16fd27e87a56385fcba
diff --git a/sci-geosciences/gpxsee/gpxsee-13.22.ebuild b/sci-geosciences/gpxsee/gpxsee-13.22.ebuild
new file mode 100644
index 000000000000..6ed42a42478c
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.22.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"
+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
+}