diff options
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-9.3.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 8a57225fa97f..eafdb91e63cc 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,3 +1,4 @@ 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 +DIST gpxsee-9.3.tar.gz 4436406 BLAKE2B 2a6cfab191a0d199fe75ccc2f2b9017557d146f34d3889b2517f6e197948296bd6c1f35a33d1a1fdcec213379f85f741eaa8eefd5d135adb3e221f3937f18328 SHA512 c8f8f58579c674a2f986b27a17a4e959bef6b83348df1bbc31118b63bcfcaf2e09df87286b83362adcf74f8a8f7080e0c2da77db08defb1a2a68f3ffd9f24b23 diff --git a/sci-geosciences/gpxsee/gpxsee-9.3.ebuild b/sci-geosciences/gpxsee/gpxsee-9.3.ebuild new file mode 100644 index 000000000000..af40115090c9 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-9.3.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 plocale qmake-utils 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 + + plocale_find_changes lang "${PN}_" '.ts' + + rm_ts() { + sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro + } + + plocale_for_each_disabled_locale rm_ts +} + +src_compile() { + lrelease gpxsee.pro + eqmake5 gpxsee.pro + emake +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc README.md +} |