dev-qt/qtspeech: improve patch avoiding build failure with no qtgui
authorMichael Palimaka <kensington@gentoo.org>
Mon, 11 Mar 2019 06:08:06 +0000 (17:08 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 11 Mar 2019 06:08:48 +0000 (17:08 +1100)
Closes: https://bugs.gentoo.org/679210
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch [new file with mode: 0644]
dev-qt/qtspeech/qtspeech-5.12.1.ebuild

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 (file)
index 0000000..7d0faa1
--- /dev/null
@@ -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
index 753b18298279b865a7683dbfcd082b6ed9612db9..bcec3c2f7c2d21a0d8f67b14fcdc4ff95bfaef0c 100644 (file)
@@ -19,4 +19,4 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}/${PN}-5.9.4-nogui.patch" )
+PATCHES=( "${FILESDIR}/${PN}-5.12.1-nogui.patch" )