summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-09-12 23:42:34 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-09-12 23:42:34 +0700
commit1d0ba072fee6eff36de74293d2a9051c63907183 (patch)
tree32aca31516421874ab9ce559e9e5e09c47b201e2 /sci-geosciences/gpxsee
parentmedia-libs/libglvnd: Drop Python 3.12 (diff)
downloadgentoo-1d0ba072fee6eff36de74293d2a9051c63907183.tar.gz
gentoo-1d0ba072fee6eff36de74293d2a9051c63907183.tar.bz2
gentoo-1d0ba072fee6eff36de74293d2a9051c63907183.zip
sci-geosciences/gpxsee: bump to 13.8
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r--sci-geosciences/gpxsee/Manifest1
-rw-r--r--sci-geosciences/gpxsee/gpxsee-13.8.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 0a9c298eb21c..73efb72563f4 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,3 +1,4 @@
DIST gpxsee-13.4.tar.gz 5497497 BLAKE2B 1ae4a00aaba5549292002ccb1e151670f268f6b5fb32577ccc95be0aafd694c512329b34863b716ff7bc4d7509768cd4759d0611cdee915d7b7103c0e6451303 SHA512 d31898ecb57b1f47e1abfab601a16a30609ffaf6e421a366177e679f80ba1ab4ef818cc1ccd444c29db85e0b636a71940291451ad3485ab4826e3f9e7ec40e2a
DIST gpxsee-13.5.tar.gz 5500119 BLAKE2B 73b1490504156feda69bf4785ee98b3e4daac2b74a883d62447837ddef7f830ef00e7ec917e0ab2e11cdd8b514a5335e0a2d8dd8cdb9a3b6a129a3821ef54188 SHA512 89daa7e329cd682147409f2e93f68c5fea6a9906e50d8e8fdd09af6aa63dd0fa0830a0a885a4aa76c29bc5abb2ca6b4d43bf67fe2148982b24b1fa2df0c16933
DIST gpxsee-13.7.tar.gz 5502385 BLAKE2B 02ee963db62d1c8980425db589ff4d8dcbae8778d2b73734e80179871c3efb21363055d03487cd60619415be4c4284050bbebf6313365edca2fe4c356221840d SHA512 7c2139fac971ea15b969c50f85d356e57ab3ed25b6650828961cf4f5b8ab2532dd86bd37ba5642fa111f9d28ab566b7dad0b6cf12095eb505aefe00f729edaa1
+DIST gpxsee-13.8.tar.gz 5629040 BLAKE2B 6b6d44e90aa9026572c2d7f9959267ae241169661c463406b36d75362c3cf1a3757f1558f47d17d4cb831f051e51d31bdbd5183d6782a46512a0bbdc0cb7d6b2 SHA512 965bedba566a72bacca3900b44253cf00b405a54aa1d17d9b8919975d15516be4d542514400bb7fccdb3c407c401eb2d6770b9d4396cfec87efc1f7a57d9cdfd
diff --git a/sci-geosciences/gpxsee/gpxsee-13.8.ebuild b/sci-geosciences/gpxsee/gpxsee-13.8.ebuild
new file mode 100644
index 000000000000..d3040a4c8b15
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.8.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
+}