summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2019-10-01 20:20:55 +0700
committerAndrey Grozin <grozin@gentoo.org>2019-10-01 20:20:55 +0700
commit49cec73993f0b2d33cb2559ea6d45b88c9c430e8 (patch)
tree2326277a0d478185164480d3b75657c80f55ab5d /sci-geosciences
parentapp-eselect/eselect-emacs: Add stabilize-allarches to metadata. (diff)
downloadgentoo-49cec73993f0b2d33cb2559ea6d45b88c9c430e8.tar.gz
gentoo-49cec73993f0b2d33cb2559ea6d45b88c9c430e8.tar.bz2
gentoo-49cec73993f0b2d33cb2559ea6d45b88c9c430e8.zip
sci-geosciences/gpxsee: bump to 7.14
Package-Manager: Portage-2.3.76, Repoman-2.3.17 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.14.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index c552e8b0a07e..5e2db65c9505 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,3 +1,4 @@
DIST gpxsee-7.12.tar.gz 4688060 BLAKE2B 5700bfd8ec4d6702df417297b0c5ce7d5df5f099ee435b4e322b78b65441adb0fcb00d4cbcddd825c75879cc35d2e7f67900525bc515a64813ab8148fc025fe8 SHA512 1630e34e5a367e88f55b690434be6f3ba73d9a55c0d351944939cca8a1994b0ac9ccc4a52ec30562d64179326f7be514549a83a0027a4b0189306fc47840d0bc
DIST gpxsee-7.13.tar.gz 4687849 BLAKE2B 1963533450c8721b9ef9323080efc885ead692f683f1f3e5458938be3599481f4dc79b569ed01324939b3a67a344983f03d8bff48d7dbb867cf6a96e01b93aef SHA512 679d78169ed272239e1f474a9c25654f3230ed30cddc22e7f19ba8b5726e8a8f6b41aae34b3017beb14ca80ad553572ac0c53f504489fbb70fd32ea9e5969702
+DIST gpxsee-7.14.tar.gz 4696636 BLAKE2B 6ce00165cd6e14242d8aab5d809e0758015683be3cc3dcf8b012163e0114605c2f9cf31a49b950790dd09f8ee8c3d8edaca4660df36845379ccc6b74a3981759 SHA512 ecde2a2dc6b001239c9827698b27d08e1909fad3798fe04612378889fb6c9368663a6032bc823f2da82ec72fe0fe2647cf86aba87cd31c1467dbefbde985e613
DIST gpxsee-7.9.tar.gz 4347609 BLAKE2B 1555576b72ada6d6302fede1ba0d043b4656afeabaa390e5c32289a0b5e57fdf5a5a880516a6960ea2d00844cdf9a88a894a36e3a82bde6f6fb3c30ddb166bc7 SHA512 24522506894e9ea88ab7b79b34082a1c8c563c8e0c73672ba247a5d013f0c802752665a62686259981f2b49494982d3ad0f06de83f37874e87110bee42964659
diff --git a/sci-geosciences/gpxsee/gpxsee-7.14.ebuild b/sci-geosciences/gpxsee/gpxsee-7.14.ebuild
new file mode 100644
index 000000000000..3b81f7fe5b94
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-7.14.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PLOCALES="cs da de en es fi fr nb pl pt_BR pt_PT ru sv tr"
+inherit 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
+
+ insinto /usr/share/applications
+ doins pkg/${PN}.desktop
+ insinto /usr/share/mime/packages
+ doins pkg/${PN}.xml
+ insinto /usr/share/pixmaps
+ doins icons/${PN}.png
+}