diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-08-05 17:02:11 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-08-05 17:02:11 +0700 |
commit | 8701fd76cc2d381a34b1d4fdb46c2e1e2b06dc80 (patch) | |
tree | a5fc96cb49a5a076bc8e6fdef16775f7d477611d | |
parent | x11-plugins/wmmp: Stabilize 0.12.6 x86, #911745 (diff) | |
download | gentoo-8701fd76cc2d381a34b1d4fdb46c2e1e2b06dc80.tar.gz gentoo-8701fd76cc2d381a34b1d4fdb46c2e1e2b06dc80.tar.bz2 gentoo-8701fd76cc2d381a34b1d4fdb46c2e1e2b06dc80.zip |
sci-geosciences/gpxsee: bump to 13.5
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-13.5.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index e44e999ef0f7..7aa2d007fb93 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1 +1,2 @@ DIST gpxsee-13.4.tar.gz 5497497 BLAKE2B 1ae4a00aaba5549292002ccb1e151670f268f6b5fb32577ccc95be0aafd694c512329b34863b716ff7bc4d7509768cd4759d0611cdee915d7b7103c0e6451303 SHA512 d31898ecb57b1f47e1abfab601a16a30609ffaf6e421a366177e679f80ba1ab4ef818cc1ccd444c29db85e0b636a71940291451ad3485ab4826e3f9e7ec40e2a +DIST gpxsee-13.5.tar.gz 5500119 BLAKE2B 73b1490504156feda69bf4785ee98b3e4daac2b74a883d62447837ddef7f830ef00e7ec917e0ab2e11cdd8b514a5335e0a2d8dd8cdb9a3b6a129a3821ef54188 SHA512 89daa7e329cd682147409f2e93f68c5fea6a9906e50d8e8fdd09af6aa63dd0fa0830a0a885a4aa76c29bc5abb2ca6b4d43bf67fe2148982b24b1fa2df0c16933 diff --git a/sci-geosciences/gpxsee/gpxsee-13.5.ebuild b/sci-geosciences/gpxsee/gpxsee-13.5.ebuild new file mode 100644 index 000000000000..d3040a4c8b15 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-13.5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 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" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtpositioning:5 + dev-qt/qtprintsupport:5 + dev-qt/qtserialport:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools:5" + +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 +} |