Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtspeech/, dev-qt/qtspeech/files/
Date: Mon, 11 Mar 2019 06:09:06
Message-Id: 1552284528.aa26da3778abf77ca12ff991630b2bcb49d180ca.kensington@gentoo
1 commit: aa26da3778abf77ca12ff991630b2bcb49d180ca
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 11 06:08:06 2019 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 06:08:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa26da37
7
8 dev-qt/qtspeech: improve patch avoiding build failure with no qtgui
9
10 Closes: https://bugs.gentoo.org/679210
11 Package-Manager: Portage-2.3.51, Repoman-2.3.12
12 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
13
14 dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch | 23 +++++++++++++++++++++++
15 dev-qt/qtspeech/qtspeech-5.12.1.ebuild | 2 +-
16 2 files changed, 24 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch b/dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch
19 new file mode 100644
20 index 00000000000..7d0faa13e69
21 --- /dev/null
22 +++ b/dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch
23 @@ -0,0 +1,23 @@
24 +Bug: https://bugs.gentoo.org/651012
25 +Bug: https://bugs.gentoo.org/679210
26 +
27 +--- a/src/plugins/tts/speechdispatcher/speechdispatcher.pro
28 ++++ b/src/plugins/tts/speechdispatcher/speechdispatcher.pro
29 +@@ -5,6 +5,7 @@
30 + load(qt_plugin)
31 +
32 + QT += core texttospeech
33 ++QT -= gui
34 +
35 + CONFIG += link_pkgconfig
36 + packagesExist(speech-dispatcher): PKGCONFIG = speech-dispatcher
37 +--- a/src/doc/doc.pro
38 ++++ b/src/doc/doc.pro
39 +@@ -2,6 +2,7 @@
40 +
41 + CONFIG += force_qt
42 + QT += core-private
43 ++QT -= doc
44 +
45 + QMAKE_DOCS = $$PWD/qtspeech.qdocconf
46 +
47
48 diff --git a/dev-qt/qtspeech/qtspeech-5.12.1.ebuild b/dev-qt/qtspeech/qtspeech-5.12.1.ebuild
49 index 753b1829827..bcec3c2f7c2 100644
50 --- a/dev-qt/qtspeech/qtspeech-5.12.1.ebuild
51 +++ b/dev-qt/qtspeech/qtspeech-5.12.1.ebuild
52 @@ -19,4 +19,4 @@ RDEPEND="
53 "
54 DEPEND="${RDEPEND}"
55
56 -PATCHES=( "${FILESDIR}/${PN}-5.9.4-nogui.patch" )
57 +PATCHES=( "${FILESDIR}/${PN}-5.12.1-nogui.patch" )