summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-03-09 07:34:34 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-03-09 07:35:32 +0700
commitca2e6923c703a9f2faca134fb07c67f1c6a987f8 (patch)
tree3aae72b126105563de710e5215d2e611459ed8de /sci-geosciences/gpxsee
parentnet-misc/memcached: bump new major version (diff)
downloadgentoo-ca2e6923c703a9f2faca134fb07c67f1c6a987f8.tar.gz
gentoo-ca2e6923c703a9f2faca134fb07c67f1c6a987f8.tar.bz2
gentoo-ca2e6923c703a9f2faca134fb07c67f1c6a987f8.zip
sci-geosciences/gpxsee: bump to 7.25
Package-Manager: Portage-2.3.92, Repoman-2.3.20 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-7.25.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 691c4ca577b5..0cfbcd9dff62 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,3 +1,4 @@
DIST gpxsee-7.18.tar.gz 5006604 BLAKE2B b7568a677e3cff08903d862921ace01374a594e216b1bd9eda457a92f700ef232b5804dff24696ee0574bcbe1d4e8a103dac6b5db33482cb0139f73b21852883 SHA512 562944a14ac2af4ec6837e77a6610b8ad7d254ffada4202e589c05a4306c0410e815212d7a7847708c50de72fa21a02d41bf5152f5d5f313c96da5b2516138fd
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
diff --git a/sci-geosciences/gpxsee/gpxsee-7.25.ebuild b/sci-geosciences/gpxsee/gpxsee-7.25.ebuild
new file mode 100644
index 000000000000..c5b1bd5f1e11
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-7.25.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
+}