summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-03-24 10:50:51 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-03-24 10:52:52 +1100
commita69e5a9b422866c1e6fb61ad4f2d9d0df5049391 (patch)
tree5623dee674f36960bd44cc6983cb49194fdf23cd /dev-qt/qtspeech
parentapp-arch/xar: stable 1.8-r1 for ia64, bug #624642 (diff)
downloadgentoo-a69e5a9b422866c1e6fb61ad4f2d9d0df5049391.tar.gz
gentoo-a69e5a9b422866c1e6fb61ad4f2d9d0df5049391.tar.bz2
gentoo-a69e5a9b422866c1e6fb61ad4f2d9d0df5049391.zip
dev-qt/qtspeech: avoid bogus dependency
Closes: https://bugs.gentoo.org/651012 Package-Manager: Portage-2.3.24, Repoman-2.3.6
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 00000000000..fa5d900afdc
--- /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 2954bcf57d7..24627d2b866 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" )