diff options
author | Andrey Grozin <grozin@gentoo.org> | 2022-04-06 19:32:22 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2022-04-06 19:32:22 +0700 |
commit | 084e21168d4db9ee59dce557dc1f705e5b79b8b2 (patch) | |
tree | ec7d92a401e3f6f2f215aa3e40171e8a7737170d /sci-geosciences/gpxsee | |
parent | app-emacs/org-superstar-mode: new package; add version 1.5.0 (diff) | |
download | gentoo-084e21168d4db9ee59dce557dc1f705e5b79b8b2.tar.gz gentoo-084e21168d4db9ee59dce557dc1f705e5b79b8b2.tar.bz2 gentoo-084e21168d4db9ee59dce557dc1f705e5b79b8b2.zip |
sci-geosciences/gpxsee: bump to 10.5
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-10.5.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index cd60e3deffc5..335351d9b8c2 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,2 +1,3 @@ DIST gpxsee-10.4.tar.gz 5112577 BLAKE2B f5abace946a0eb16cff1f9aab27a731d2a9f3b0123da6e505a4f620a1e8f5ba060fba718676466f9b4f4103963dfce4fadc50c90a29048f37f4848f0f01835df SHA512 f3ac6fca6602da90edea50adafd907f9b631ce45c4ddaa438cd57ed5ca63cc3f6882792bb5789ca669f7e7e0adbebcddc24d140de6b8c32097c265ce63067a4f +DIST gpxsee-10.5.tar.gz 5123489 BLAKE2B 9e7155adc340d3e8af708563cf2aba2e03a47c4180a144d79521913339020f20be416bd14d95b33041653135167d8123899f6008474beef8e1665924eaa0c339 SHA512 ee24a1555fc18f2aa21307e4fe255312d5e166b107bf0a9e10104cb977cb5d59888e7ec99aad83adf5fc36e7a9eb04a039450d96b4248ad52c08fce0dd76c035 DIST gpxsee-9.12.tar.gz 4977257 BLAKE2B 30060478cef417f8d9fe87878ecc1338336e48906eaa3eb7735d086b47fa8a7cc2154e8719e0f92109d4e4f881d90f6ebe1f6088a9684fdde42672c4eef9d664 SHA512 47c414f5a6fd61b93119820b24f49a73575a260c986e3403776322f15ff514de82a23444369ef4803fa82c512f9af49f5acc28e719633173c7961f2d34b7cd4b diff --git a/sci-geosciences/gpxsee/gpxsee-10.5.ebuild b/sci-geosciences/gpxsee/gpxsee-10.5.ebuild new file mode 100644 index 000000000000..f37db04afe41 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-10.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 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 zh" +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/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtconcurrent:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5 + dev-qt/qtpositioning: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() { + $(qt5_get_bindir)/lrelease gpxsee.pro || die "lrelease failed" + eqmake5 gpxsee.pro + emake +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc README.md +} |