summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtspeech')
-rw-r--r--dev-qt/qtspeech/files/qtspeech-5.9.4-nogui.patch12
-rw-r--r--dev-qt/qtspeech/qtspeech-5.9.4.ebuild2
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/files/qtspeech-5.9.4-nogui.patch b/dev-qt/qtspeech/files/qtspeech-5.9.4-nogui.patch
new file mode 100644
index 000000000000..fa5d900afdc1
--- /dev/null
+++ b/dev-qt/qtspeech/files/qtspeech-5.9.4-nogui.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/651012
+
+--- 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
diff --git a/dev-qt/qtspeech/qtspeech-5.9.4.ebuild b/dev-qt/qtspeech/qtspeech-5.9.4.ebuild
index 2954bcf57d74..24627d2b8665 100644
--- a/dev-qt/qtspeech/qtspeech-5.9.4.ebuild
+++ b/dev-qt/qtspeech/qtspeech-5.9.4.ebuild
@@ -18,3 +18,5 @@ RDEPEND="
~dev-qt/qtcore-${PV}
"
DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-5.9.4-nogui.patch" )