summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-14 12:09:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-14 12:09:57 +0100
commit7e353220609f621de9e31781e9fc79aebfe337f6 (patch)
tree22732ff9387a51811ca94cb3677243c04d2624db
parenta9785c54e739ae93259430b606cf3fc87e492c11 (diff)
dev-qt/qtspeech : import from gentoo tree, make it use our eclass, increase revision to beat gentoo
-rw-r--r--dev-qt/qtspeech/Manifest1
-rw-r--r--dev-qt/qtspeech/files/qtspeech-5.9.4-nogui.patch12
-rw-r--r--dev-qt/qtspeech/qtspeech-5.9.5-r1000.ebuild22
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest
new file mode 100644
index 00000000..d2afc289
--- /dev/null
+++ b/dev-qt/qtspeech/Manifest
@@ -0,0 +1 @@
+DIST qtspeech-opensource-src-5.9.5.tar.xz 80812 BLAKE2B 043dc3d93deec7fe7a38343811eba3df5acc32ffee477651fb014726a3f82ef296253909389bca9ded3e77a1e7b27b88951054809487350b365e0cb400b9b07b SHA512 a4ca5b3fff120b02b62f25551b1f68ad44165707fbc02107dfc7eb915868e515d0fac7189d16f53d9ecc60fee2c082f34040ae95f7199feb5b23deee8b44872b
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 00000000..fa5d900a
--- /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.5-r1000.ebuild b/dev-qt/qtspeech/qtspeech-5.9.5-r1000.ebuild
new file mode 100644
index 00000000..52fd2ad0
--- /dev/null
+++ b/dev-qt/qtspeech/qtspeech-5.9.5-r1000.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit qt5-build-r10000
+
+DESCRIPTION="Text-to-speech library for the Qt5 framework"
+
+if [[ ${QT5_BUILD_TYPE} == release ]]; then
+ KEYWORDS="amd64"
+fi
+
+# TODO: flite plugin - needs 2.0.0 (not yet in tree)
+IUSE=""
+
+RDEPEND="
+ >=app-accessibility/speech-dispatcher-0.8.7
+ ~dev-qt/qtcore-${PV}
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-5.9.4-nogui.patch" )