Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/ghostwriter/
Date: Sat, 27 Oct 2018 15:57:20
Message-Id: 1540655674.0daf8ca5893c401522a3f5624e1e203efebfa185.asturm@gentoo
1 commit: 0daf8ca5893c401522a3f5624e1e203efebfa185
2 Author: David Roman <davidroman96 <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 8 19:44:05 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 27 15:54:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0daf8ca5
7
8 app-editors/ghostwriter: verbump to 1.7.3
9
10 Closes: https://bugs.gentoo.org/668126
11 Closes: https://github.com/gentoo/gentoo/pull/10110
12 Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 app-editors/ghostwriter/Manifest | 1 +
16 app-editors/ghostwriter/ghostwriter-1.7.3.ebuild | 55 ++++++++++++++++++++++++
17 app-editors/ghostwriter/metadata.xml | 4 ++
18 3 files changed, 60 insertions(+)
19
20 diff --git a/app-editors/ghostwriter/Manifest b/app-editors/ghostwriter/Manifest
21 index 6d871ce407c..443e7970811 100644
22 --- a/app-editors/ghostwriter/Manifest
23 +++ b/app-editors/ghostwriter/Manifest
24 @@ -1 +1,2 @@
25 DIST ghostwriter-1.5.0.tar.gz 620301 BLAKE2B 07af6c6b176f15a7b6bee0594936a346160783c553dfd91cd69bde3975ada5c125920c1029ab19aee21c89576c6fab311f7a893447c457ff5a174149e57f67bb SHA512 4b6e1430342069b224f7aece30d5a592a43e9f702cb93fc073fded741771ea74b8478203aeaecdabb791aa7ddd8055d5c36346518adc7dd19b61e5f2e2cbe219
26 +DIST ghostwriter-1.7.3.tar.gz 673328 BLAKE2B 5304f5218da5fe535dea1ed9d43c4358212d9b1025dcc7102a77852c833ba1301d59539df4e2a44fd8a46abe7dfbdc7c6ab490d3f9e8ed5f7b4571b604c3bbb6 SHA512 a6f7e64078bdb3ecd9ea48ead8e96811e62215292a1c4a269f23efb6c0403c62fb0aab3e1303397b08036a7f3507d04a8eb8c14baafd78f64fea20805bb24a5a
27
28 diff --git a/app-editors/ghostwriter/ghostwriter-1.7.3.ebuild b/app-editors/ghostwriter/ghostwriter-1.7.3.ebuild
29 new file mode 100644
30 index 00000000000..6988d84d5c1
31 --- /dev/null
32 +++ b/app-editors/ghostwriter/ghostwriter-1.7.3.ebuild
33 @@ -0,0 +1,55 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit qmake-utils xdg-utils
40 +
41 +DESCRIPTION="Cross-platform, aesthetic, distraction-free markdown editor"
42 +HOMEPAGE="https://wereturtle.github.io/ghostwriter/"
43 +SRC_URI="https://github.com/wereturtle/ghostwriter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="debug"
49 +
50 +RDEPEND="
51 + app-text/hunspell
52 + dev-qt/qtcore:5
53 + dev-qt/qtgui:5
54 + dev-qt/qtprintsupport:5
55 + dev-qt/qtwebkit:5
56 + dev-qt/qtwidgets:5
57 +"
58 +DEPEND="${RDEPEND}
59 + dev-qt/linguist-tools:5
60 + dev-qt/qtconcurrent:5
61 +"
62 +
63 +DOCS=( CREDITS.md README.md )
64 +
65 +src_prepare() {
66 + default
67 +
68 + sed -i -e "/^VERSION =/s/\$.*/${PV}/" ghostwriter.pro || die "failed to override version"
69 +}
70 +
71 +src_configure() {
72 + eqmake5 \
73 + CONFIG+=$(usex debug debug release) \
74 + PREFIX="${EPREFIX}"/usr
75 +}
76 +
77 +src_install() {
78 + emake INSTALL_ROOT="${D}" install
79 + einstalldocs
80 +}
81 +
82 +pkg_postinst() {
83 + xdg_desktop_database_update
84 +}
85 +
86 +pkg_postrm() {
87 + xdg_desktop_database_update
88 +}
89
90 diff --git a/app-editors/ghostwriter/metadata.xml b/app-editors/ghostwriter/metadata.xml
91 index 960a05beff6..f0f7966a74f 100644
92 --- a/app-editors/ghostwriter/metadata.xml
93 +++ b/app-editors/ghostwriter/metadata.xml
94 @@ -5,6 +5,10 @@
95 <email>reagentoo@×××××.com</email>
96 <name>Dmitry Baranov</name>
97 </maintainer>
98 + <maintainer type="person">
99 + <email>davidroman96@×××××.com</email>
100 + <name>David Roman</name>
101 + </maintainer>
102 <maintainer type="project">
103 <email>proxy-maint@g.o</email>
104 <name>Proxy Maintainers</name>