summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-04-29 13:30:07 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-04-29 13:31:38 +0700
commitc14dc20fdeee6dc03c14d5e3e9fb89ad229538e1 (patch)
tree5727c84307549c94bd27b847961bd45e3e27fcb0
parentdev-python/jsonpickle-1.4.1-r1: revbump, remove pandas test dep, py38 (diff)
downloadgentoo-c14dc20fdeee6dc03c14d5e3e9fb89ad229538e1.tar.gz
gentoo-c14dc20fdeee6dc03c14d5e3e9fb89ad229538e1.tar.bz2
gentoo-c14dc20fdeee6dc03c14d5e3e9fb89ad229538e1.zip
sci-geosciences/gpxsee: bump to 7.29
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
-rw-r--r--sci-geosciences/gpxsee/Manifest1
-rw-r--r--sci-geosciences/gpxsee/gpxsee-7.29.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 9e8ba59894bd..0bdf3a220315 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -3,3 +3,4 @@ DIST gpxsee-7.20.tar.gz 5348758 BLAKE2B d7e8f0f29dfe666572a58a1a5072545cda345f51
DIST gpxsee-7.23.tar.gz 5358562 BLAKE2B aaa1fd5815ba1f0e3592d034033f0335cf257f408a1344eb6adc1cba1b8f0bfb7e61374b83721efb75b99b9fed06fce8f1921b0af31b7375623c8dec1fd383ca SHA512 a6ffbb6d15efbf2491b447cfabbc3a50f6ef97e438fa788c98230f76d3c3acabc96f713839fe13b238d39ecac84554e80f1d3f8c282122dff92eb987ca3d3dba
DIST gpxsee-7.25.tar.gz 5359026 BLAKE2B 9ff5d48883c065cb1f93fcf853d1e6772538ef2d6ee2ce0aaadacfbbe84347dc62d8eed81f9c115b58054a1348f8624518c4c16552245ce5bf168450e60b366c SHA512 f31d7a8b174670b2458abbca6082cf3adbf7cc45f0bd7e73537bf2210ec89eb5ab23518b8b15f2a16d2ddba8c75f82ff903c0bb356de42b90f6f187efb73c065
DIST gpxsee-7.26.tar.gz 5362613 BLAKE2B 935508f33060dda9c259d9172daf7c611895500584f4cf687edd32a98e4aed4f950c3ef309808db816ebc52b92c4f06bf8dc2ac6e015c034749d883f3dbac1c8 SHA512 97d15b644a0a9656e849caeb0f171b42213a0ae3e090c3a2b70e43614d2b50446757483704814af5b678aba5e129ca748cdacb6f97f38189c2af7f7d7bcc26a9
+DIST gpxsee-7.29.tar.gz 5363181 BLAKE2B 4d3a5693a7b5939847c2dc32bff205649264766975c6313220e305770e40602f40e03c74db22e043860f1a2953a43e7ec0a58624f4882de93f3320a32dc6292e SHA512 e4133ad7a9b5e25f3c0bdd2397e02b6219e81f8632385e6423244e7c400ff72a5be85720f1ec123428ae3aeca79cac81e03b7f40de83d309e55ee69ee7cc933f
diff --git a/sci-geosciences/gpxsee/gpxsee-7.29.ebuild b/sci-geosciences/gpxsee/gpxsee-7.29.ebuild
new file mode 100644
index 000000000000..c5b1bd5f1e11
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-7.29.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="cs da de en es fi fr hu 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}"
+
+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() {
+ local lang
+ dobin ${PN}
+ dodoc README.md
+ insinto /usr/share/${PN}
+ doins -r pkg/maps pkg/csv
+
+ insinto /usr/share/${PN}/translations
+ for lang in lang/*.qm; do
+ [ -f "${lang}" ] && doins "${lang}"
+ done
+
+ domenu pkg/${PN}.desktop
+ insinto /usr/share/mime/packages
+ doins pkg/${PN}.xml
+ doicon icons/${PN}.png
+}