summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch')
-rw-r--r--dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch b/dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch
new file mode 100644
index 000000000000..7d0faa13e699
--- /dev/null
+++ b/dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch
@@ -0,0 +1,23 @@
+Bug: https://bugs.gentoo.org/651012
+Bug: https://bugs.gentoo.org/679210
+
+--- a/src/plugins/tts/speechdispatcher/speechdispatcher.pro
++++ b/src/plugins/tts/speechdispatcher/speechdispatcher.pro
+@@ -5,6 +5,7 @@
+ load(qt_plugin)
+
+ QT += core texttospeech
++QT -= gui
+
+ CONFIG += link_pkgconfig
+ packagesExist(speech-dispatcher): PKGCONFIG = speech-dispatcher
+--- a/src/doc/doc.pro
++++ b/src/doc/doc.pro
+@@ -2,6 +2,7 @@
+
+ CONFIG += force_qt
+ QT += core-private
++QT -= doc
+
+ QMAKE_DOCS = $$PWD/qtspeech.qdocconf
+