summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2019-03-11 17:08:06 +1100
committerMichael Palimaka <kensington@gentoo.org>2019-03-11 17:08:48 +1100
commitaa26da3778abf77ca12ff991630b2bcb49d180ca (patch)
tree07abd0870ed030aa713961ae56699f65fd57d684 /dev-qt/qtspeech
parentsys-apps/ripgrep: add ~ppc64 (diff)
downloadgentoo-aa26da3778abf77ca12ff991630b2bcb49d180ca.tar.gz
gentoo-aa26da3778abf77ca12ff991630b2bcb49d180ca.tar.bz2
gentoo-aa26da3778abf77ca12ff991630b2bcb49d180ca.zip
dev-qt/qtspeech: improve patch avoiding build failure with no qtgui
Closes: https://bugs.gentoo.org/679210 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-qt/qtspeech')
-rw-r--r--dev-qt/qtspeech/files/qtspeech-5.12.1-nogui.patch23
-rw-r--r--dev-qt/qtspeech/qtspeech-5.12.1.ebuild2
2 files changed, 24 insertions, 1 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
+
diff --git a/dev-qt/qtspeech/qtspeech-5.12.1.ebuild b/dev-qt/qtspeech/qtspeech-5.12.1.ebuild
index 753b18298279..bcec3c2f7c2d 100644
--- a/dev-qt/qtspeech/qtspeech-5.12.1.ebuild
+++ b/dev-qt/qtspeech/qtspeech-5.12.1.ebuild
@@ -19,4 +19,4 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/${PN}-5.9.4-nogui.patch" )
+PATCHES=( "${FILESDIR}/${PN}-5.12.1-nogui.patch" )