summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-12-23 19:35:08 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-12-23 19:35:08 +0700
commit73fe9bc6f9ee99b81fae235062a08c9557a28cc1 (patch)
tree995143c5d3b53d73af2fefe45a7bb0c499c1e500 /sci-geosciences
parentsys-kernel/gentoo-sources: add 5.15.145 (diff)
downloadgentoo-73fe9bc6f9ee99b81fae235062a08c9557a28cc1.tar.gz
gentoo-73fe9bc6f9ee99b81fae235062a08c9557a28cc1.tar.bz2
gentoo-73fe9bc6f9ee99b81fae235062a08c9557a28cc1.zip
sci-geosciences/gpxsee: bump to 13.13
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.13.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 01a78dd30507..d699a41a859c 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,3 +1,4 @@
DIST gpxsee-13.11.tar.gz 5550861 BLAKE2B 0b5b03083eabfe8ba008adfaefda9c8aaea98c7e76852f07394e64fae880f4253ebdb76a1d841eba856d1b50379e65e538110c0b0166fd02a316c3d24a08818e SHA512 d8790e08adcba0faa512a7e03c2d85542a459af45ee3e82fc7406ca0129dd50cc2e9f8e401c7e0f44d58caca09330f184c5e4ac9e2c81f2d997cb79cc58e748d
DIST gpxsee-13.12.tar.gz 5551850 BLAKE2B 38570a0e1132ea14c844512cc9ba7d9887a58adb70c9b651bea224d30bac8e33abfeb99a2cb6897f71d66e912639e1cbab8be6959d4dec8cc3443d543498fe01 SHA512 5394adf356bdada4ec546c2e25ac055505c7d835cec511757a880e166ae1a01bfad2b0b3839a69e5001ae7428e09b3153d9baf2d423ada5825b93bb0c258439f
+DIST gpxsee-13.13.tar.gz 5551928 BLAKE2B e438c84ca7a7ade71cd5651464cab1378719609050d32b11e744dfe2952074c3fcd64ce111f4ccd10d8b71ed3e96fbd6b1ee0b00658a6120082abedb9ba53629 SHA512 d451d17d24bca0baca614d3b81896543f21e3cd1f97b8ce524b69e412a8d785058002990f7fc18613b62d2a9ebb5f09017a24e88ee8763732ac2e37242a7ca84
DIST gpxsee-13.4.tar.gz 5497497 BLAKE2B 1ae4a00aaba5549292002ccb1e151670f268f6b5fb32577ccc95be0aafd694c512329b34863b716ff7bc4d7509768cd4759d0611cdee915d7b7103c0e6451303 SHA512 d31898ecb57b1f47e1abfab601a16a30609ffaf6e421a366177e679f80ba1ab4ef818cc1ccd444c29db85e0b636a71940291451ad3485ab4826e3f9e7ec40e2a
diff --git a/sci-geosciences/gpxsee/gpxsee-13.13.ebuild b/sci-geosciences/gpxsee/gpxsee-13.13.ebuild
new file mode 100644
index 000000000000..d3040a4c8b15
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.13.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
+}