Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/ghostwriter/
Date: Wed, 05 Jun 2019 07:47:23
Message-Id: 1559720831.44438532eb16f8929e0ca80a32105a25a3b61395.mgorny@gentoo
1 commit: 44438532eb16f8929e0ca80a32105a25a3b61395
2 Author: David Roman <davidroman96 <AT> gmail <DOT> com>
3 AuthorDate: Fri May 3 22:34:07 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 5 07:47:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44438532
7
8 app-editors/ghostwriter: verbump to 1.8.0
9
10 Closes: https://bugs.gentoo.org/684680
11 Package-Manager: Portage-2.3.66, Repoman-2.3.12
12 Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/11889
14 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
15
16 app-editors/ghostwriter/Manifest | 1 +
17 app-editors/ghostwriter/ghostwriter-1.8.0.ebuild | 56 ++++++++++++++++++++++++
18 2 files changed, 57 insertions(+)
19
20 diff --git a/app-editors/ghostwriter/Manifest b/app-editors/ghostwriter/Manifest
21 index 0bd394321c3..38949299e56 100644
22 --- a/app-editors/ghostwriter/Manifest
23 +++ b/app-editors/ghostwriter/Manifest
24 @@ -1,3 +1,4 @@
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 DIST ghostwriter-1.7.4.tar.gz 1195162 BLAKE2B 6339161b73b6e8cf9fce37da5133416512a61289189fb3f574af96753e62e8e364d610dd277542bd18b4ec44692dc149d4b3d5a6cd89894536d4dc898994c667 SHA512 b09e0f8152cd8bdd4465f20d94134ea6ef840b4ccd6d9f75bce8452917d98adc89093c661ecde0400fba7d68f832633c8fe0b19a1607ce79e3f400caa573da8f
28 +DIST ghostwriter-1.8.0.tar.gz 1195999 BLAKE2B d751e570aed94bcf0806ca20d82b0ac2b465649caf31f01b761f0370a4f1b04ac8f948213b15c05a71541b8068ef21dfb2105b5fc91d5637e498e2d4c8f6bf9a SHA512 aff500d9221f28f6a06a93bf0b5ddb590792b22bc551749b790f52751cd7f2e27ea59778927c2f117320cb1791b45d51d8efdf479f0894319755afb1a509f7bd
29
30 diff --git a/app-editors/ghostwriter/ghostwriter-1.8.0.ebuild b/app-editors/ghostwriter/ghostwriter-1.8.0.ebuild
31 new file mode 100644
32 index 00000000000..a6fa48460be
33 --- /dev/null
34 +++ b/app-editors/ghostwriter/ghostwriter-1.8.0.ebuild
35 @@ -0,0 +1,56 @@
36 +# Copyright 1999-2019 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +inherit qmake-utils xdg-utils
42 +
43 +DESCRIPTION="Cross-platform, aesthetic, distraction-free markdown editor"
44 +HOMEPAGE="https://wereturtle.github.io/ghostwriter/"
45 +SRC_URI="https://github.com/wereturtle/ghostwriter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-3+"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="debug"
51 +
52 +BDEPEND="dev-qt/linguist-tools:5"
53 +
54 +RDEPEND="
55 + app-text/hunspell
56 + dev-qt/qtwebchannel:5
57 + dev-qt/qtconcurrent:5
58 + dev-qt/qtcore:5
59 + dev-qt/qtgui:5
60 + dev-qt/qtsvg:5
61 + dev-qt/qtwebengine:5[widgets]
62 + dev-qt/qtwidgets:5
63 +"
64 +DEPEND="${RDEPEND}"
65 +
66 +DOCS=( CREDITS.md README.md )
67 +
68 +src_prepare() {
69 + default
70 +
71 + sed -i -e "/^VERSION =/s/\$.*/${PV}/" ghostwriter.pro || die "failed to override version"
72 +}
73 +
74 +src_configure() {
75 + eqmake5 \
76 + CONFIG+=$(usex debug debug release) \
77 + PREFIX="${EPREFIX}"/usr
78 +}
79 +
80 +src_install() {
81 + emake INSTALL_ROOT="${D}" install
82 + einstalldocs
83 +}
84 +
85 +pkg_postinst() {
86 + xdg_desktop_database_update
87 +}
88 +
89 +pkg_postrm() {
90 + xdg_desktop_database_update
91 +}