summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-03-29 23:09:16 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-03-29 23:09:16 +0700
commit8703c3233fd58ad412a08605172c310f90ceda0d (patch)
treeee0127b23c44e72573fd225f9270de7bbd609483 /sci-geosciences
parentapp-backup/duplicity: bump (diff)
downloadgentoo-8703c3233fd58ad412a08605172c310f90ceda0d.tar.gz
gentoo-8703c3233fd58ad412a08605172c310f90ceda0d.tar.bz2
gentoo-8703c3233fd58ad412a08605172c310f90ceda0d.zip
sci-geosciences/gpxsee: bump to 7.26
Package-Manager: Portage-2.3.96, Repoman-2.3.22 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-7.26.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 0cfbcd9dff6..9e8ba59894b 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -2,3 +2,4 @@ DIST gpxsee-7.18.tar.gz 5006604 BLAKE2B b7568a677e3cff08903d862921ace01374a594e2
DIST gpxsee-7.20.tar.gz 5348758 BLAKE2B d7e8f0f29dfe666572a58a1a5072545cda345f51d305d6c0351ee5639ba09c185b9b3e7e883d2d02198e70a58ef69508cfd5ab561183c68a625fa4101dc17285 SHA512 37c975d9e64cf6fe5455a0e6cfb896275db6a0469ba772c97615c8b2f79af591bf4eb7f6dd414c6a3f0344fe1b9f443f402e0b8c173beee0a301ede783fa26db
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
diff --git a/sci-geosciences/gpxsee/gpxsee-7.26.ebuild b/sci-geosciences/gpxsee/gpxsee-7.26.ebuild
new file mode 100644
index 00000000000..c5b1bd5f1e1
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-7.26.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
+}