diff options
author | Andrey Grozin <grozin@gentoo.org> | 2021-07-19 10:13:34 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2021-07-19 10:13:34 +0700 |
commit | c3dfce78e7fa4b55d76437bce49139d956d40f76 (patch) | |
tree | cacf95837e2aa34fd30eff9b3695525ac2937e20 /sci-geosciences | |
parent | dev-lisp/sbcl: bump to 2.1.6 (diff) | |
download | gentoo-c3dfce78e7fa4b55d76437bce49139d956d40f76.tar.gz gentoo-c3dfce78e7fa4b55d76437bce49139d956d40f76.tar.bz2 gentoo-c3dfce78e7fa4b55d76437bce49139d956d40f76.zip |
sci-geosciences/gpxsee: bump to 9.2
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-9.2.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 6e427faba0ba..8a57225fa97f 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,2 +1,3 @@ DIST gpxsee-9.0.tar.gz 8538085 BLAKE2B 4c8cdabba6082689e98561eccb399bd2e8c4fdce6f229dae2c4a5576e0adbd05380538c906654d7400f5537d370d368193efdb380100cdb79a3805fa9e80f12c SHA512 3eeaaadd48e838dfa56a499ff44cee681f02c6e3e34ec500c70024926af854966f0ddb81b5b88c3f1741350eed3207d864a83daff93009f3f6a72b9fb69357d8 DIST gpxsee-9.1.tar.gz 4295570 BLAKE2B b2753bc53003279b84f2811cbbe7195d6941e821fe03dfe95206eaa8c86a6df255530fddd4b13f82036e6404fe547d3a3a33f0c5c65df38aa17eb32285dde14f SHA512 2be51e5df8155175c786cfb265bc02a2abbd848a26b5d38a4bdc82a9677ee32711d11c9623168b5706b299529576d2cecfbb37cae90ff24177ebb5a7b70e3439 +DIST gpxsee-9.2.tar.gz 4434460 BLAKE2B e12994afd9673d859d8846e56d17ae86368f312390d7bee835ff02b4e08ab7330c9138d1af451c0c6a44866e2b044c01111d9de77ce0a40b47c48377e6d9589c SHA512 6469f06a21814d25a56899e79d055f166d6c3ab6ecdcea851f87a4991d74ff4e99fec9924ecd4c3065dcf8cb8eed53bdff66c2e3f5642978e6333d80a75f8262 diff --git a/sci-geosciences/gpxsee/gpxsee-9.2.ebuild b/sci-geosciences/gpxsee/gpxsee-9.2.ebuild new file mode 100644 index 000000000000..950a8b5cfcfa --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-9.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PLOCALES="cs da de en eo es fi fr hu it 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}" + +PATCHES=( "${FILESDIR}"/${PN}-7.33.patch ) + +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() { + emake INSTALL_ROOT="${D}" install + dodoc README.md +} |