diff options
author | Andrey Grozin <grozin@gentoo.org> | 2024-10-03 19:54:42 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2024-10-03 19:55:26 +0700 |
commit | e7068395b2fd0ca84b5abeb586776283d19abfd7 (patch) | |
tree | f4f026f8e6f529fca2455a0169a5cb03ceedcfbb /sci-geosciences | |
parent | xfce-base/xfdesktop: Bump to 4.19.4 (diff) | |
download | gentoo-e7068395b2fd0ca84b5abeb586776283d19abfd7.tar.gz gentoo-e7068395b2fd0ca84b5abeb586776283d19abfd7.tar.bz2 gentoo-e7068395b2fd0ca84b5abeb586776283d19abfd7.zip |
sci-geosciences/gpxsee: bump to 13.26
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.26.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 246da22f0171..cf4382fd9d43 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,3 +1,4 @@ DIST gpxsee-13.22.tar.gz 5634011 BLAKE2B b708ea4a81679109ce4e67302e336e070a508799ba8bbcf67121b617390e3808e2a054170e57a112c734fa7d22698f71da5f902ec704fda0f0fcf2818495b29f SHA512 0a12304c608ee86ebdd226a3179fde538ac0f64d5300ede4a032be373059ccbe1dcbcb6db76326c9988620b9fd41dd0f36e8e922b305a16fd27e87a56385fcba DIST gpxsee-13.23.tar.gz 5635256 BLAKE2B d6f69b4fd69aaa850994f9f3ee61790ff4e407adab85074b80940c7d9a24da010b4e2e485e79f0bd564b20a1295e34ae454504c59f60f56b161c7a5ac8fbd1ea SHA512 bf917e36deef824289d432d2ebdaffd417a34b843c2b7ef129e5469f3f5a723d54b4b1af756571614329dee7ba01daa38b110d730a7787dfcf617b4faa007ee3 DIST gpxsee-13.24.tar.gz 5638074 BLAKE2B 036d5b6c03f137149ea4f4d41ecf46df184e78ca523a2c1a9e48bb2d3ea3352264bd24b30e3169c1f2bba917971eadae87d2dea1ac9c9b9667490ea94499db27 SHA512 8d33c204b184d0ecbe260bf384cf90103efea7ebdaa9c1f647e1f7bdd6376a1db55bf73ca1b153699a5a878aa8815b0e2aeb75f67448c7390ccaf7d8ed8f207a +DIST gpxsee-13.26.tar.gz 5638599 BLAKE2B 9d13d3455d0ea59e4f03daa89e3668a634e6f1a5fd5c129e6d031920fddc238303c52aaae04776a51655e221c7facba4c63d7f5ede1c144cb32202427c52c26c SHA512 9a56930fb3f7cdf95d2ca6e4daebb16e5f670bc715489ed02e51e3b4b5e08ec397524de219c5e7142910c826cda60a46c3dd467572769e60239b667aa306d59e diff --git a/sci-geosciences/gpxsee/gpxsee-13.26.ebuild b/sci-geosciences/gpxsee/gpxsee-13.26.ebuild new file mode 100644 index 000000000000..6ed42a42478c --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-13.26.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 +} |