diff options
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-13.9.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 7536d03c1ecd..c0eaf2110d5e 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,3 +1,4 @@ DIST gpxsee-13.4.tar.gz 5497497 BLAKE2B 1ae4a00aaba5549292002ccb1e151670f268f6b5fb32577ccc95be0aafd694c512329b34863b716ff7bc4d7509768cd4759d0611cdee915d7b7103c0e6451303 SHA512 d31898ecb57b1f47e1abfab601a16a30609ffaf6e421a366177e679f80ba1ab4ef818cc1ccd444c29db85e0b636a71940291451ad3485ab4826e3f9e7ec40e2a DIST gpxsee-13.7.tar.gz 5502385 BLAKE2B 02ee963db62d1c8980425db589ff4d8dcbae8778d2b73734e80179871c3efb21363055d03487cd60619415be4c4284050bbebf6313365edca2fe4c356221840d SHA512 7c2139fac971ea15b969c50f85d356e57ab3ed25b6650828961cf4f5b8ab2532dd86bd37ba5642fa111f9d28ab566b7dad0b6cf12095eb505aefe00f729edaa1 DIST gpxsee-13.8.tar.gz 5629040 BLAKE2B 6b6d44e90aa9026572c2d7f9959267ae241169661c463406b36d75362c3cf1a3757f1558f47d17d4cb831f051e51d31bdbd5183d6782a46512a0bbdc0cb7d6b2 SHA512 965bedba566a72bacca3900b44253cf00b405a54aa1d17d9b8919975d15516be4d542514400bb7fccdb3c407c401eb2d6770b9d4396cfec87efc1f7a57d9cdfd +DIST gpxsee-13.9.tar.gz 5630789 BLAKE2B 64328de6ee8ef1fd2906eb815bb27ee43d37a48d485dc10972e4ccdf2d57b314379b8082f829a32e942e550a7785b12c9130dfc2c192a078b4476906cf71f80d SHA512 7385f185b04ed669869e75fd95f2213e02291dde7bbb58eba648ce9e786fbb9718eed9d31e2b4627c5c5ec05771e6925a6c8bb1eb44b16c85aa4882acd9f115c diff --git a/sci-geosciences/gpxsee/gpxsee-13.9.ebuild b/sci-geosciences/gpxsee/gpxsee-13.9.ebuild new file mode 100644 index 000000000000..d3040a4c8b15 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-13.9.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 +} |