1 |
commit: 37dc24b2bfc7295f000d2797881e479503a2cc93 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 9 14:59:53 2019 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 9 14:59:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37dc24b2 |
7 |
|
8 |
sci-geosciences/gpxsee: bump to 7.1 |
9 |
|
10 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
12 |
|
13 |
sci-geosciences/gpxsee/Manifest | 1 + |
14 |
sci-geosciences/gpxsee/gpxsee-7.1.ebuild | 77 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/sci-geosciences/gpxsee/Manifest b/sci-geosciences/gpxsee/Manifest |
18 |
index f5efd4f3799..60d8bfab8b2 100644 |
19 |
--- a/sci-geosciences/gpxsee/Manifest |
20 |
+++ b/sci-geosciences/gpxsee/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gpxsee-6.3.tar.gz 3861093 BLAKE2B bd6cd81b1f2c4fdd3b4b6c0bae72be1a48ad0f0d22203f653e325228974eaf0043eca41efd42e085bd5811a8d2a9cd2f51fe04c03d9e9d064e01cfc24d7a12e4 SHA512 7a4f23444517a0481490f8f1a0520634e63e0416dd5fd5bdb01942df138839595dffd4bced21e264552915c38e5653e927244ea5ca185ff3f93df56fad3e9c73 |
23 |
+DIST gpxsee-7.1.tar.gz 3868798 BLAKE2B 08bc30d77508429bec94bbdb255b76b79c21bd2e251b216743f49fa45f59ded5a02e730c4766fd9f15e2357d74a66750e3e7515a9d8bdd21a1f97dee77cbec02 SHA512 bb7dc14a3cf7ca87a4335383d6c4c380fcf1a0009161ec988b1b5cf964cf757bbe05ae2e51d726edcb97966918afe4d872172087988321222a65e3c27c276a5d |
24 |
|
25 |
diff --git a/sci-geosciences/gpxsee/gpxsee-7.1.ebuild b/sci-geosciences/gpxsee/gpxsee-7.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f12eaf15a65 |
28 |
--- /dev/null |
29 |
+++ b/sci-geosciences/gpxsee/gpxsee-7.1.ebuild |
30 |
@@ -0,0 +1,77 @@ |
31 |
+# Copyright 1999-2019 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PLOCALES="cs da de en fi fr nb pl ru sv tr" |
37 |
+inherit qmake-utils l10n xdg-utils gnome2-utils |
38 |
+ |
39 |
+MY_PN="GPXSee" |
40 |
+MY_P="${MY_PN}-${PV}" |
41 |
+ |
42 |
+DESCRIPTION="A viewer and analyzer that supports gpx, tcx, kml, fit, igc and nmea files" |
43 |
+HOMEPAGE="http://www.gpxsee.org/" |
44 |
+SRC_URI="https://github.com/tumic0/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="" |
49 |
+RDEPEND="dev-qt/qtwidgets:5 |
50 |
+ dev-qt/qtgui:5 |
51 |
+ dev-qt/qtprintsupport:5 |
52 |
+ dev-qt/qtnetwork:5 |
53 |
+ dev-qt/qtcore:5" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-qt/linguist-tools:5" |
56 |
+ |
57 |
+S="${WORKDIR}/${MY_P}" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ |
62 |
+ l10n_find_plocales_changes lang "${PN}_" '.ts' |
63 |
+ |
64 |
+ rm_ts() { |
65 |
+ sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro |
66 |
+ } |
67 |
+ |
68 |
+ l10n_for_each_disabled_locale_do rm_ts |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ lrelease gpxsee.pro |
73 |
+ eqmake5 gpxsee.pro |
74 |
+ emake |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ local lang |
79 |
+ newbin ${MY_PN} ${PN} |
80 |
+ dodoc README.md |
81 |
+ insinto /usr/share/${PN} |
82 |
+ doins -r pkg/maps pkg/csv |
83 |
+ |
84 |
+ insinto /usr/share/${PN}/translations |
85 |
+ for lang in lang/*.qm; do |
86 |
+ [ -f "${lang}" ] && doins "${lang}" |
87 |
+ done |
88 |
+ |
89 |
+ insinto /usr/share/applications |
90 |
+ doins pkg/${PN}.desktop |
91 |
+ insinto /usr/share/mime/packages |
92 |
+ doins pkg/${PN}.xml |
93 |
+ insinto /usr/share/pixmaps |
94 |
+ doins icons/${PN}.png |
95 |
+} |
96 |
+ |
97 |
+pkg_postinst() { |
98 |
+ xdg_desktop_database_update |
99 |
+ xdg_mimeinfo_database_update |
100 |
+ gnome2_icon_cache_update |
101 |
+} |
102 |
+ |
103 |
+pkg_postrm() { |
104 |
+ xdg_desktop_database_update |
105 |
+ xdg_mimeinfo_database_update |
106 |
+ gnome2_icon_cache_update |
107 |
+} |