summaryrefslogtreecommitdiff
path: root/sci-geosciences/gpxsee
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r--sci-geosciences/gpxsee/Manifest2
-rw-r--r--sci-geosciences/gpxsee/gpxsee-13.33.ebuild74
2 files changed, 76 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 86692b7673db..935418800775 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,6 +1,8 @@
AUX gpxsee-7.33.patch 332 BLAKE2B c0ccd7e75c0d99533fcc3a1ce582b59c739e36c203434ab5c491c5c70953adadec7beae0340aaecb76f0b92c10052f8398ff2597a226426c8b9f7222c2d812f3 SHA512 ff3e78d30793784ffc147f89c7558bc9b470935293416e961db744d6edd42bf096499e3aa199908614d547e48ef893b28c886cc61e4e5ee182abddabffd660fc
DIST gpxsee-13.27.tar.gz 5639124 BLAKE2B f3e10b1580e6e96f106d789abf9273530a36f528e4971b430c4b83d0a056f065a08faca28d850a7983df7fc7cc5fcab1d564a88d4337ad7ea4c33b4e2b22579c SHA512 88ed97d6a6813385ce9194d7b18935f410fc69f25072f0a5de20ac19464a1be9ec7c28ac9de2533b3153bb6d43ab2f84428faef0c687d2dffbb39bad4df1c96b
DIST gpxsee-13.32.tar.gz 5551655 BLAKE2B c04aca4c79202b32ca49e2e609e497cac4a92bff08a5b075fea0a8b3d1bbbed9dd5e6a1b5725ffe9a79cdce28b989333c49b0372ef518a1a467aa4ee287eda21 SHA512 2b607742bb0ee2f173721544e205fa98e25c2bf23349811a039a5fd24524edf7e9cba5b64733c7edaa0415bb4b22bf3c4362f9fff342aadf14afc9e1ecd35864
+DIST gpxsee-13.33.tar.gz 5557400 BLAKE2B b1aaf16567ab4f35120cf5dd43f9c29136f8dfe04ba85d4876ed135a5f84ebf3626aac9cb1c63cd7b732245a6fbb76bcedb3255d6157796a7a68c938f1da8d1e SHA512 9ae1c59ca9e3b1ceb36fb1923da7f599c6c3f11be05d789629a0a425c11a634cf5a98f78390fb5b0838f7da4e96cce807fe146d0125671d3567b17cbbf1ae9cb
EBUILD gpxsee-13.27.ebuild 1516 BLAKE2B 179a4b5e2e643532a67ef8f1811fbc8b11c9211ddac19f86369aa77254642b6219405376f1d0df55964798b5b1ae1bf565d1a5f15074718aed694d22fed8a40b SHA512 b620e184a274283b9a77aed181ba2330172b201226924289d400a2e8af4366c9fa2c81659ef06111cb457415e0c034bf74758fc79449692fce8e87820558bfe5
EBUILD gpxsee-13.32.ebuild 1519 BLAKE2B 6e5b819c750c803230a521b185ab02409a6b86a4838430414368c4713e67a56afa296e22850695fe62e4535a492d5ce8c766da6a9dbe11ef4dcf00e4690fbd43 SHA512 0e2e06ee44d67c61bf1177b17864b0813cacfc81bd4b9bcdc5372e71f346cb7f2e12a6bbf8825ac152cc320b032f0cec9ca130fcde94d4592a224b6b163d5f12
+EBUILD gpxsee-13.33.ebuild 1519 BLAKE2B 6e5b819c750c803230a521b185ab02409a6b86a4838430414368c4713e67a56afa296e22850695fe62e4535a492d5ce8c766da6a9dbe11ef4dcf00e4690fbd43 SHA512 0e2e06ee44d67c61bf1177b17864b0813cacfc81bd4b9bcdc5372e71f346cb7f2e12a6bbf8825ac152cc320b032f0cec9ca130fcde94d4592a224b6b163d5f12
MISC metadata.xml 508 BLAKE2B da581bc3330fcebff61893ddcc75762fa4987f959cf6eaddb49a2f67a3071caf5e1aa5e1f9722fc493c13091146a70bbf5f7051d2961e4456c1aaf025182a77a SHA512 e895fdb3e558a75c1506206c5b0cf797f4ee14aa83c4e0853bec71c48298301cd7cc052853df64fc62c253543882cf878e03be864a93643456f5f117816faaa3
diff --git a/sci-geosciences/gpxsee/gpxsee-13.33.ebuild b/sci-geosciences/gpxsee/gpxsee-13.33.ebuild
new file mode 100644
index 000000000000..b754057f64d5
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.33.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
+}