diff options
author | Andrey Grozin <grozin@gentoo.org> | 2023-04-29 15:18:14 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2023-04-29 15:19:45 +0700 |
commit | a170b255b1d98ec792da07e1b4198611d9167d3e (patch) | |
tree | 925efd4a96abd53e7b932460e1739d2229be7fcb /sci-geosciences/gpxsee | |
parent | sys-fs/e2fsprogs: Stabilize 1.46.5-r4 ppc, #892998 (diff) | |
download | gentoo-a170b255b1d98ec792da07e1b4198611d9167d3e.tar.gz gentoo-a170b255b1d98ec792da07e1b4198611d9167d3e.tar.bz2 gentoo-a170b255b1d98ec792da07e1b4198611d9167d3e.zip |
sci-geosciences/gpxsee: bump to 13.0
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-13.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest index 0b839f6b53ff..1ff035327a91 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.3.tar.gz 5485192 BLAKE2B 928506054b937eed86af8c34dfa5ab3af28f2aa4bb4c99865a89fe6c94355a63af0a3013845d1237adc14a15aadf44896e3c7467e27f8bbe2c92b0eff53529c2 SHA512 4244e37211b33d97ebfad4c10a718235707fa1d136ad04578870e870759cbcaca2ff34375c647153047d7be88a026aba39ff5b636012ddbda2ce8c4e715de026 DIST gpxsee-12.4.tar.gz 5485951 BLAKE2B 524d3a6deb806f537dbb5393384dc57112a853bb3af1a91b8d7d6a95c6942393ef0b34bfe3f730fbe266710188cd7c06f924ba0155428e6818a64a4e65cc92ac SHA512 45c4dd36b39ab7b0d7f62057988ab114dcf75b80273fa3796766f9246dc6ed41b3dd0a24fc921f0025613724d138ad5f29fc8322dee23627fad55f648340ff3c +DIST gpxsee-13.0.tar.gz 5494687 BLAKE2B 819d60204d491443d68c83f1c3849cf9aaaaaccec00e357c03723ba9e86db2d79aca9d03fb142e23bd596840e05705a76b340dd036bb3cf4d06c57a53d83b28f SHA512 7d2dc37d52d6f63dc1377e52b6653d95207ea176c2564c613e01375a506b8fa9fa22ed5e2f506a607cf24b164758353cd404f9f86d64b51e4601efa744fe9632 diff --git a/sci-geosciences/gpxsee/gpxsee-13.0.ebuild b/sci-geosciences/gpxsee/gpxsee-13.0.ebuild new file mode 100644 index 000000000000..d3040a4c8b15 --- /dev/null +++ b/sci-geosciences/gpxsee/gpxsee-13.0.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 +} |