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/qmapshack/
Date: Sun, 27 Dec 2020 10:37:04
Message-Id: 1609065388.2ce2d5d166bc3f1fc49c988adf0e452d7ce1ffc9.grozin@gentoo
1 commit: 2ce2d5d166bc3f1fc49c988adf0e452d7ce1ffc9
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 27 10:36:28 2020 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 27 10:36:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce2d5d1
7
8 sci-geosciences/qmapshack: bump to 1.15.2
9
10 Closes: https://bugs.gentoo.org/761664
11 Package-Manager: Portage-3.0.12, Repoman-3.0.2
12 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
13
14 sci-geosciences/qmapshack/Manifest | 1 +
15 sci-geosciences/qmapshack/qmapshack-1.15.2.ebuild | 47 +++++++++++++++++++++++
16 2 files changed, 48 insertions(+)
17
18 diff --git a/sci-geosciences/qmapshack/Manifest b/sci-geosciences/qmapshack/Manifest
19 index 3ddd56bffe9..f699b473286 100644
20 --- a/sci-geosciences/qmapshack/Manifest
21 +++ b/sci-geosciences/qmapshack/Manifest
22 @@ -1 +1,2 @@
23 DIST qmapshack-1.15.1.tar.gz 46265787 BLAKE2B b690d1e0ac698cee6969ef3cf35dd3b6102dd292993695fed81416a2bfe396e88bd8004b03a7eeb5df30c817331b83c55452f96200bd6c45145e86eb163ca988 SHA512 c01fc75fd6466a97e82b8f9822dfada87ededcec53e62a3dc42e36463c195ad4ba16c19a4748d48b26a0e957303f2724ec88eecb5d64676c74dbdaeebfadf17a
24 +DIST qmapshack-1.15.2.tar.gz 46899954 BLAKE2B b7121331039d8fedf6c44ef591e5f7a637787201bed1763bad026f866060d60a756f18858e76d95ea2420a3183f36147f2c72d151f377e8f2bc9108832266ff4 SHA512 536ba1c2fb3516560307c18eb76ef2b86fecaa1bc0fa4bcef25c8eb2e6c6dee5c3a9a81d6a9d05a147234df7c703937fd9e841696316c350694b0494705f885c
25
26 diff --git a/sci-geosciences/qmapshack/qmapshack-1.15.2.ebuild b/sci-geosciences/qmapshack/qmapshack-1.15.2.ebuild
27 new file mode 100644
28 index 00000000000..21da0a4f4d4
29 --- /dev/null
30 +++ b/sci-geosciences/qmapshack/qmapshack-1.15.2.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit cmake xdg
38 +
39 +DESCRIPTION="GPS mapping utility"
40 +HOMEPAGE="https://github.com/Maproom/qmapshack/wiki"
41 +SRC_URI="https://github.com/Maproom/${PN}/archive/V_${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-3+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE=""
47 +
48 +RDEPEND="
49 + dev-libs/quazip
50 + dev-qt/designer:5
51 + dev-qt/qtdbus:5
52 + dev-qt/qtdeclarative:5[widgets]
53 + dev-qt/qthelp:5
54 + dev-qt/qtnetwork:5[ssl]
55 + dev-qt/qtprintsupport:5
56 + dev-qt/qtsql:5
57 + dev-qt/qtwebengine:5[widgets]
58 + >=sci-geosciences/routino-3.1.1
59 + sci-libs/alglib
60 + sci-libs/gdal
61 + >=sci-libs/proj-6.0.0:=
62 +"
63 +DEPEND="${RDEPEND}"
64 +BDEPEND="dev-qt/linguist-tools:5"
65 +
66 +S="${WORKDIR}"/${PN}-V_${PV}
67 +
68 +src_prepare() {
69 + eapply FindPROJ4.patch
70 + cmake_src_prepare
71 + xdg_environment_reset
72 +}
73 +
74 +src_install() {
75 + docompress -x /usr/share/doc/${PF}/html
76 + cmake_src_install
77 + mv "${D}"/usr/share/doc/HTML "${D}"/usr/share/doc/${PF}/html || die "mv Qt help failed"
78 +}