summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2021-04-26 20:52:33 +0700
committerAndrey Grozin <grozin@gentoo.org>2021-04-26 20:52:56 +0700
commitd56ea2ec2365ddc91c02a98b6cde19377a38fc48 (patch)
tree9b0751b2a8ee8dba3cafd95d05753173ca116725 /sci-geosciences
parentdev-lang/hy: Bump to 0.20.0 (diff)
downloadgentoo-d56ea2ec2365ddc91c02a98b6cde19377a38fc48.tar.gz
gentoo-d56ea2ec2365ddc91c02a98b6cde19377a38fc48.tar.bz2
gentoo-d56ea2ec2365ddc91c02a98b6cde19377a38fc48.zip
sci-geosciences/gpxsee: bump to 9.0
Package-Manager: Portage-3.0.18, Repoman-3.0.3 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-9.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 9acb0a2c6c09..23b83f314da9 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,2 +1,3 @@
DIST gpxsee-8.1.tar.gz 7715535 BLAKE2B f71c3e4212747f3084e2a9ed102fcd4b7c701292cfb933b01cfd1965ac41b3d09f1c67c291ca9eac8cdf66fb4c150937fdc1ccb7369d63e65c30155016fe915f SHA512 beb6a5bdae1e20cac3b5a29a398b5e2742ec28b8f2f1239c027d3470a11c354991465895ab81caa1f7c31dbc77f391aef978a1c746efd35214989505980f4654
DIST gpxsee-8.9.tar.gz 8414586 BLAKE2B 540dfd52688358413c92580e4213873fedf1cc11418c6e199f67f74f6a4f1b2c9879720cf7f5c791fa6099b88fba0486ec5e516fdf090e04c5ce7b5f4fcf1b75 SHA512 262f1eae598f45196f6f9b167ef522f2af05c2481eb6c7873bae07b35e9eb35da6cf7a067bb3bd32922ec991901f53408040ceba967fb913caf079c1358221df
+DIST gpxsee-9.0.tar.gz 8538085 BLAKE2B 4c8cdabba6082689e98561eccb399bd2e8c4fdce6f229dae2c4a5576e0adbd05380538c906654d7400f5537d370d368193efdb380100cdb79a3805fa9e80f12c SHA512 3eeaaadd48e838dfa56a499ff44cee681f02c6e3e34ec500c70024926af854966f0ddb81b5b88c3f1741350eed3207d864a83daff93009f3f6a72b9fb69357d8
diff --git a/sci-geosciences/gpxsee/gpxsee-9.0.ebuild b/sci-geosciences/gpxsee/gpxsee-9.0.ebuild
new file mode 100644
index 000000000000..6f4915f07d57
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-9.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="cs da de en eo es fi fr hu it nb pl pt_BR ru sv tr uk zh"
+inherit desktop qmake-utils l10n 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"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
+
+src_prepare() {
+ default
+
+ l10n_find_plocales_changes lang "${PN}_" '.ts'
+
+ rm_ts() {
+ sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
+ }
+
+ l10n_for_each_disabled_locale_do rm_ts
+}
+
+src_compile() {
+ lrelease gpxsee.pro
+ eqmake5 gpxsee.pro
+ emake
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc README.md
+}