diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-03-06 21:10:37 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-03-06 21:10:37 +0700 |
commit | 6f18e61364212ca8775c5a282db43e18efe5a081 (patch) | |
tree | 827cbc74c8c266ab55cb13694fdc3d945391831d /sci-geosciences/gpxsee | |
parent | dev-python/rpyc: bump to 5.3.1 (diff) | |
download | gentoo-6f18e61364212ca8775c5a282db43e18efe5a081.tar.gz gentoo-6f18e61364212ca8775c5a282db43e18efe5a081.tar.bz2 gentoo-6f18e61364212ca8775c5a282db43e18efe5a081.zip |
sci-geosciences/gpxsee: bump to 12.2
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpxsee')
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-12.2.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 133738d9440a..7a9d542097fd 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,2 +1,3 @@ DIST gpxsee-11.11.tar.gz 5481954 BLAKE2B a562b963c08cd7ffbd2a5e33c984365aad5c48d9dfa7e05ab0e53bc89ec434bd4412a8b220408372f2aaba5c36a27cec596102a5beb308334eee88795dcabd73 SHA512 060599f018b2058e916e4d850656e2d2247fe2dae923590438015ebf816a18446fcc737b7206bfcef945fa61187a5f7aaf19612ac1466cfeb5ffb3b7b70a9620 DIST gpxsee-12.1.tar.gz 5487589 BLAKE2B 181fbc668ff389ac4ab7c26e8d629b8b19c581c53014dda6d4d339b67456ae8b18a1d3feaecb40c775ca1d8e8ca85e4c0da3245a0beb11f2a07a403ccd0dde01 SHA512 25b7788104c7b5f4544ed1fd0429965af82f77e9648b2caeec320addc219ba5e6c3e6d785ce7dd2aa6f5e969525fd7e6eef61b63ab02f9baa506b7b53aed1d50 +DIST gpxsee-12.2.tar.gz 5483703 BLAKE2B 68e91e061fff8f034dd5fe66578f2d01aa6b4b4e2621ba65d1b45e08cf8f180b2f142a90d444f1580cf4f7d83bba7a99027f90dc227bbbcad8d9289afe059858 SHA512 46c37ad2ef6af55e2a5a45fdc1baf0e26b67cff00b3c727f11a835fe08f9f250369d68ec8f9a30eb385d2bfabb83980ae697f99fd1d474d673f174049d91bb2e diff --git a/sci-geosciences/gpxsee/gpxsee-12.2.ebuild b/sci-geosciences/gpxsee/gpxsee-12.2.ebuild new file mode 100644 index 000000000000..d3040a4c8b15 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-12.2.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 +} |