summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2021-02-28 19:09:30 +0700
committerAndrey Grozin <grozin@gentoo.org>2021-02-28 19:09:30 +0700
commit4535287c38d6508674e2be3fd15561eb1ae8e2e7 (patch)
tree60da7725803f5761ea656e17826176bdaabd3f47 /sci-geosciences/gpxsee
parentsys-cluster/ucx: Add 1.10.0_rc5 (diff)
downloadgentoo-4535287c38d6508674e2be3fd15561eb1ae8e2e7.tar.gz
gentoo-4535287c38d6508674e2be3fd15561eb1ae8e2e7.tar.bz2
gentoo-4535287c38d6508674e2be3fd15561eb1ae8e2e7.zip
sci-geosciences/gpxsee: bump to 8.7
Package-Manager: Portage-3.0.16, Repoman-3.0.2 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-8.7.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index c66b59d8937d..cc41b779b411 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.4.tar.gz 8156963 BLAKE2B a2bbedf8a64655aad192cf436b762cc99f280f2bee32213a4d63476e48510b4a4697f474202aefa55d74c74e1f3eed48c58dc391aace1b76f431427e42a8a8c7 SHA512 8650e8e7d2bd4cef87f7a6554964b5599223ef2f69a64669c3e6f0fb25dabf93de9278d3016f4f141adb4cdd173a5f3812b7bcf147fd228765e06e23f066a9c4
+DIST gpxsee-8.7.tar.gz 8413467 BLAKE2B 96d4981c48c9d1e3c731a630f6d0d972b19bf23427f00920598854b2e77e3ab41470fdf64450c505a24c401248b169a63e4726ca2f223c4ac72fc81da5bad06d SHA512 6a0dbd6d34df062e8597314a47e0233bf222623fc396272572450b2e7ed624afbfb8f2bf065ab012d836e09fad7675c7338b4eb4d3822ab5780599a90c9df5f7
diff --git a/sci-geosciences/gpxsee/gpxsee-8.7.ebuild b/sci-geosciences/gpxsee/gpxsee-8.7.ebuild
new file mode 100644
index 000000000000..950a8b5cfcfa
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-8.7.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"
+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
+}