sci-geosciences/gpxsee: bump to 7.13
authorAndrey Grozin <grozin@gentoo.org>
Sat, 14 Sep 2019 11:17:15 +0000 (18:17 +0700)
committerAndrey Grozin <grozin@gentoo.org>
Sat, 14 Sep 2019 11:17:15 +0000 (18:17 +0700)
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>
sci-geosciences/gpxsee/Manifest
sci-geosciences/gpxsee/gpxsee-7.13.ebuild [new file with mode: 0644]

index 9c8f18e45e4646f3943146ac7e4fbee3d2324687..c552e8b0a07efe4abcb1fd2571ab9cc142d8a68e 100644 (file)
@@ -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 (file)
index 0000000..0f57099
--- /dev/null
@@ -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
+}