diff options
author | Andrey Grozin <grozin@gentoo.org> | 2024-03-30 18:31:42 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2024-03-30 18:31:42 +0700 |
commit | cc0b067bc165c0c3393ff3d187d6f2af43cbe09a (patch) | |
tree | 29ca0e447a05c31604c474cbd3327f0ec851bd1f /sci-geosciences | |
parent | dev-java/eclipse-ecj: Keyword 4.30-r1 ppc64, #928124 (diff) | |
download | gentoo-cc0b067bc165c0c3393ff3d187d6f2af43cbe09a.tar.gz gentoo-cc0b067bc165c0c3393ff3d187d6f2af43cbe09a.tar.bz2 gentoo-cc0b067bc165c0c3393ff3d187d6f2af43cbe09a.zip |
sci-geosciences/gpxsee: bump to 13.18
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-13.18.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 2badc302b455..31b346dee994 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,2 +1,3 @@ DIST gpxsee-13.14.tar.gz 5552553 BLAKE2B 693af0d57fc923b7ccaeace7c52f76bba4749dee9bae4f7593dc350cfe4c89bf2212a32fa47a52d39cde2f91fcc53675867b7be6b9241daef615eda388a8cf53 SHA512 af21cfa160bfdf21f3537da254e0f079063b827a4fe008245e9b67d50735480a82138d1a5aad119fb73397ca2d53b98c2dfb83b3419f32c3339876050c5f4816 DIST gpxsee-13.17.tar.gz 5570886 BLAKE2B d64bcad1d05b0e13a2c0e5971d638b08beac8228caf05a8b5ecc3ed23bb9692ebef0a6b6d7810e9a5415614dca1e1627be4a316029867f6b3efe289170793ed3 SHA512 3e2e5150925e8e1cbfb32c14c0a8e38ea3a5b16e40239d7282001e5035064b60db95603e97ef0d5fa146049f5d7d8f6350877bb6004bf2bf19b458b35cf256e6 +DIST gpxsee-13.18.tar.gz 5577442 BLAKE2B ef4429cb80822883e97c5f6ca74ca701ec3197651a8f2aec660b1591846167876b4ed4ceb4d79f45ae357c7f2df56a5b109204243c7f8b166b60d2ca5ef2705d SHA512 e4a94b9274a618e530b08b25677236fa34843ce289f8520ab8ea8c2c952f9e1cd25802e44f3d5ede0758af897cc51e72065f5178a6c7fc22eb41ba3fea7a1fc6 diff --git a/sci-geosciences/gpxsee/gpxsee-13.18.ebuild b/sci-geosciences/gpxsee/gpxsee-13.18.ebuild new file mode 100644 index 000000000000..6ed42a42478c --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-13.18.ebuild @@ -0,0 +1,74 @@ +# 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" +IUSE="qt6" + +RDEPEND=" + qt6? ( + dev-qt/qtbase:6 + dev-qt/qtpositioning:6 + dev-qt/qtserialport:6 + ) + !qt6? ( + 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=" + qt6? ( dev-qt/qttools:6 ) + !qt6? ( 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() { + if use qt6; then + $(qt6_get_bindir)/lrelease gpxsee.pro || die "lrelease failed" + eqmake6 gpxsee.pro + else + $(qt5_get_bindir)/lrelease gpxsee.pro || die "lrelease failed" + eqmake5 gpxsee.pro + fi + emake +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc README.md +} |