Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpxsee/
Date: Thu, 28 Apr 2022 05:18:00
Message-Id: 1651123052.8f1efb5567702b737602cca013fac07826378784.grozin@gentoo
1 commit: 8f1efb5567702b737602cca013fac07826378784
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 05:16:48 2022 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 05:17:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1efb55
7
8 sci-geosciences/gpxsee: bump to 10.7
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 sci-geosciences/gpxsee/Manifest | 1 +
14 sci-geosciences/gpxsee/gpxsee-10.7.ebuild | 55 +++++++++++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest
18 index ed51dea621fd..58b3205a5432 100644
19 --- a/sci-geosciences/gpxsee/Manifest
20 +++ b/sci-geosciences/gpxsee/Manifest
21 @@ -1,2 +1,3 @@
22 DIST gpxsee-10.5.tar.gz 5123489 BLAKE2B 9e7155adc340d3e8af708563cf2aba2e03a47c4180a144d79521913339020f20be416bd14d95b33041653135167d8123899f6008474beef8e1665924eaa0c339 SHA512 ee24a1555fc18f2aa21307e4fe255312d5e166b107bf0a9e10104cb977cb5d59888e7ec99aad83adf5fc36e7a9eb04a039450d96b4248ad52c08fce0dd76c035
23 DIST gpxsee-10.6.tar.gz 5122274 BLAKE2B bf76c9928267b3d6f07fcdc807512a9ab3b2ba2bdcef0294414c3aadf7d2b89b8f5fbb7a793ff04976ec16afdc5f33fcb54f5cc5c19bd1bdac97ebce7e4edc48 SHA512 143340f31863c82d3336fd4bd03e99edfdb0324ccf80ccd7a423f5a815ecda8b5220766f02e53b9f4d5098fabaad33f9da5d4a3de250711214c6923821008e76
24 +DIST gpxsee-10.7.tar.gz 5122383 BLAKE2B 5625f40b799e67ac7b4801e358021657b2ef4f2279e8ac94f8c85724b9e27dad2d0e244f931b6c2f7204abfb45a8dde1a07dcbbbfba780c8a07aa541ba944473 SHA512 0cb4a3e71c8141d8b0a039cd51ddbfb159c28dc9d6f724dc8605f52aaf90379b9fa3d21741993fbf754bd329d835118b3b67c87673ee97fdc29f61440c3e8624
25
26 diff --git a/sci-geosciences/gpxsee/gpxsee-10.7.ebuild b/sci-geosciences/gpxsee/gpxsee-10.7.ebuild
27 new file mode 100644
28 index 000000000000..60edf5a4c3e5
29 --- /dev/null
30 +++ b/sci-geosciences/gpxsee/gpxsee-10.7.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PLOCALES="cs da de en eo es fi fr hu it nb pl pt_BR ru sv tr uk zh"
38 +inherit plocale qmake-utils xdg
39 +
40 +MY_PN="GPXSee"
41 +MY_P="${MY_PN}-${PV}"
42 +
43 +DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea files"
44 +HOMEPAGE="https://www.gpxsee.org/"
45 +SRC_URI="https://github.com/tumic0/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE=""
50 +RDEPEND="dev-qt/qtcore:5
51 + dev-qt/qtgui:5
52 + dev-qt/qtwidgets:5
53 + dev-qt/qtconcurrent:5
54 + dev-qt/qtnetwork:5
55 + dev-qt/qtprintsupport:5
56 + dev-qt/qtsql:5
57 + dev-qt/qtpositioning:5"
58 +DEPEND="${RDEPEND}"
59 +BDEPEND="dev-qt/linguist-tools:5"
60 +
61 +S="${WORKDIR}/${MY_P}"
62 +
63 +PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
64 +
65 +src_prepare() {
66 + default
67 +
68 + plocale_find_changes lang "${PN}_" '.ts'
69 +
70 + rm_ts() {
71 + sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
72 + }
73 +
74 + plocale_for_each_disabled_locale rm_ts
75 +}
76 +
77 +src_compile() {
78 + $(qt5_get_bindir)/lrelease gpxsee.pro || die "lrelease failed"
79 + eqmake5 gpxsee.pro
80 + emake
81 +}
82 +
83 +src_install() {
84 + emake INSTALL_ROOT="${D}" install
85 + dodoc README.md
86 +}