diff options
author | Andrey Grozin <grozin@gentoo.org> | 2022-11-22 22:57:25 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2022-11-22 22:57:50 +0700 |
commit | 511d2a7902a38ca3c2714b6707c194d9f0e77647 (patch) | |
tree | c937bac75b22ca0315f5a998161c509791ba3503 /sci-geosciences | |
parent | net-misc/freerdp: Stabilize 2.9.0 ppc, #881835 (diff) | |
download | gentoo-511d2a7902a38ca3c2714b6707c194d9f0e77647.tar.gz gentoo-511d2a7902a38ca3c2714b6707c194d9f0e77647.tar.bz2 gentoo-511d2a7902a38ca3c2714b6707c194d9f0e77647.zip |
sci-geosciences/gpxsee: bump to 11.9
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-11.9.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index a0964e5f7c57..b41a50fa6fb7 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,2 +1,3 @@ DIST gpxsee-11.5.tar.gz 5336855 BLAKE2B 2886def6bcb812d33361b5cf6d77b5da5adc203552449ded38cd01bfb451b055e7a0d8383f44d1db41b5b797f7b8763368a43825b3d016b972b0adfdca8ce48f SHA512 56ea5218178ea2e8504e775ff83d8335b636a04f2f428072883f36159ae83f1f2b0568f55028d696e8055eac0a398086b87d4f31456c07530c5b41d291a760cc DIST gpxsee-11.8.tar.gz 5472325 BLAKE2B 67cffe42e3320e6b381b2c5a6a0e1cb4d50a09ea851bf5cd1a3e689e0a5ad8f2378c5b71eeff57694b3ba09d5b16f3a92a760d2a584f326ac88645fa40a9232f SHA512 6ec5574ce5a8d20c8b49d0d2a2d7f92662ef3b80bc08f6341aceea83339385ee0b1007a922418113efb7fff022d3a43e5d420a561ccc2e8ba1298389c67fd123 +DIST gpxsee-11.9.tar.gz 5476399 BLAKE2B 95ffd5155b94e54284afaa5fd440532561ef80332c10647e8d214ba355408798580a22edabcaf86ede4038afc2bc62b0a170bf5e6827f67ebb6cbfd7e4cce833 SHA512 36c4fdc972467d181cb7dad73c00b70b21c46d6d7534084bda05911711b4f23346001faf48ba1103e36068f06cc073670a962f6b2a877c4fd1bac556959133ef diff --git a/sci-geosciences/gpxsee/gpxsee-11.9.ebuild b/sci-geosciences/gpxsee/gpxsee-11.9.ebuild new file mode 100644 index 000000000000..d1f4a53c29ab --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-11.9.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="ca cs da de en eo es fi fr hu it ko nb pl pt_BR ru sv tr uk zh" +inherit 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 ~arm64 ~ppc64 ~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 + dev-qt/qtsvg: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 +} |