summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2023-08-29 17:52:31 +0700
committerAndrey Grozin <grozin@gentoo.org>2023-08-29 17:52:31 +0700
commit65347bbd2684ff57a24cdf6e26731412b4a5b798 (patch)
tree5f206db52a121b3085ab5c0fbe54047bb606e04f /sci-geosciences/gpxsee
parentwww-client/firefox: add 117.0 (diff)
downloadgentoo-65347bbd2684ff57a24cdf6e26731412b4a5b798.tar.gz
gentoo-65347bbd2684ff57a24cdf6e26731412b4a5b798.tar.bz2
gentoo-65347bbd2684ff57a24cdf6e26731412b4a5b798.zip
sci-geosciences/gpxsee: bump to 13.7
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.7.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 7aa2d007fb93..0a9c298eb21c 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/sci-geosciences/gpxsee/gpxsee-13.7.ebuild b/sci-geosciences/gpxsee/gpxsee-13.7.ebuild
new file mode 100644
index 000000000000..d3040a4c8b15
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-13.7.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
+}