diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-03-31 18:02:06 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-03-31 18:02:36 +0700 |
commit | 5958d0fd244c4297cef0af020d7a5cfcd0608d2b (patch) | |
tree | 0f38c754c360dac72cdabbc68a4c9a22973c9c41 | |
parent | dev-util/cdecl: add 14.0 (diff) | |
download | gentoo-5958d0fd244c4297cef0af020d7a5cfcd0608d2b.tar.gz gentoo-5958d0fd244c4297cef0af020d7a5cfcd0608d2b.tar.bz2 gentoo-5958d0fd244c4297cef0af020d7a5cfcd0608d2b.zip |
sci-geosciences/gpxsee: bump to 12.3
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
-rw-r--r-- | sci-geosciences/gpxsee/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/gpxsee/gpxsee-12.3.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 7a9d542097fd..4c39c6aa3a16 100644 --- a/sci-geosciences/gpxsee/Manifest +++ b/sci-geosciences/gpxsee/Manifest @@ -1,3 +1,4 @@ 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 +DIST gpxsee-12.3.tar.gz 5485192 BLAKE2B 928506054b937eed86af8c34dfa5ab3af28f2aa4bb4c99865a89fe6c94355a63af0a3013845d1237adc14a15aadf44896e3c7467e27f8bbe2c92b0eff53529c2 SHA512 4244e37211b33d97ebfad4c10a718235707fa1d136ad04578870e870759cbcaca2ff34375c647153047d7be88a026aba39ff5b636012ddbda2ce8c4e715de026 diff --git a/sci-geosciences/gpxsee/gpxsee-12.3.ebuild b/sci-geosciences/gpxsee/gpxsee-12.3.ebuild new file mode 100644 index 000000000000..d3040a4c8b15 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-12.3.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 +} |