From 072e80fbd86569bd298b11231081f992da0af1bd Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Tue, 2 Jan 2024 22:01:51 +0700 Subject: sci-geosciences/gpxsee: bump to 13.14 Signed-off-by: Andrey Grozin --- sci-geosciences/gpxsee/Manifest | 1 + sci-geosciences/gpxsee/gpxsee-13.14.ebuild | 59 ++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 sci-geosciences/gpxsee/gpxsee-13.14.ebuild (limited to 'sci-geosciences') diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 768c21e9c7cd..df5346c26da8 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,3 +1,4 @@ DIST gpxsee-13.12.tar.gz 5551850 BLAKE2B 38570a0e1132ea14c844512cc9ba7d9887a58adb70c9b651bea224d30bac8e33abfeb99a2cb6897f71d66e912639e1cbab8be6959d4dec8cc3443d543498fe01 SHA512 5394adf356bdada4ec546c2e25ac055505c7d835cec511757a880e166ae1a01bfad2b0b3839a69e5001ae7428e09b3153d9baf2d423ada5825b93bb0c258439f DIST gpxsee-13.13.tar.gz 5551928 BLAKE2B e438c84ca7a7ade71cd5651464cab1378719609050d32b11e744dfe2952074c3fcd64ce111f4ccd10d8b71ed3e96fbd6b1ee0b00658a6120082abedb9ba53629 SHA512 d451d17d24bca0baca614d3b81896543f21e3cd1f97b8ce524b69e412a8d785058002990f7fc18613b62d2a9ebb5f09017a24e88ee8763732ac2e37242a7ca84 +DIST gpxsee-13.14.tar.gz 5552553 BLAKE2B 693af0d57fc923b7ccaeace7c52f76bba4749dee9bae4f7593dc350cfe4c89bf2212a32fa47a52d39cde2f91fcc53675867b7be6b9241daef615eda388a8cf53 SHA512 af21cfa160bfdf21f3537da254e0f079063b827a4fe008245e9b67d50735480a82138d1a5aad119fb73397ca2d53b98c2dfb83b3419f32c3339876050c5f4816 DIST gpxsee-13.4.tar.gz 5497497 BLAKE2B 1ae4a00aaba5549292002ccb1e151670f268f6b5fb32577ccc95be0aafd694c512329b34863b716ff7bc4d7509768cd4759d0611cdee915d7b7103c0e6451303 SHA512 d31898ecb57b1f47e1abfab601a16a30609ffaf6e421a366177e679f80ba1ab4ef818cc1ccd444c29db85e0b636a71940291451ad3485ab4826e3f9e7ec40e2a diff --git a/sci-geosciences/gpxsee/gpxsee-13.14.ebuild b/sci-geosciences/gpxsee/gpxsee-13.14.ebuild new file mode 100644 index 000000000000..479cb1917893 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-13.14.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 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/ https://github.com/tumic0/GPXSee" +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 +} -- cgit v1.2.3-65-gdbad