summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2019-09-14 18:17:15 +0700
committerAndrey Grozin <grozin@gentoo.org>2019-09-14 18:17:15 +0700
commit56cd1f4217deeac2cb9ef5f4080a4f696c3c90b8 (patch)
tree266b893b7cc7d0543aec40806ee7f49ad1b2beaa
parentnet-p2p/freenet:Add optional support for nss, fixes bug 486826 (diff)
downloadgentoo-56cd1f4217deeac2cb9ef5f4080a4f696c3c90b8.tar.gz
gentoo-56cd1f4217deeac2cb9ef5f4080a4f696c3c90b8.tar.bz2
gentoo-56cd1f4217deeac2cb9ef5f4080a4f696c3c90b8.zip
sci-geosciences/gpxsee: bump to 7.13
Suggested-by: James Le Cuirot <chewi@gentoo.org> Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
-rw-r--r--sci-geosciences/gpxsee/Manifest1
-rw-r--r--sci-geosciences/gpxsee/gpxsee-7.13.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
index 9c8f18e45e46..c552e8b0a07e 100644
--- a/sci-geosciences/gpxsee/Manifest
+++ b/sci-geosciences/gpxsee/Manifest
@@ -1,2 +1,3 @@
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.9.tar.gz 4347609 BLAKE2B 1555576b72ada6d6302fede1ba0d043b4656afeabaa390e5c32289a0b5e57fdf5a5a880516a6960ea2d00844cdf9a88a894a36e3a82bde6f6fb3c30ddb166bc7 SHA512 24522506894e9ea88ab7b79b34082a1c8c563c8e0c73672ba247a5d013f0c802752665a62686259981f2b49494982d3ad0f06de83f37874e87110bee42964659
diff --git a/sci-geosciences/gpxsee/gpxsee-7.13.ebuild b/sci-geosciences/gpxsee/gpxsee-7.13.ebuild
new file mode 100644
index 000000000000..0f57099d7bd7
--- /dev/null
+++ b/sci-geosciences/gpxsee/gpxsee-7.13.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 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
+}