summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-qt/qtspeech/Manifest2
-rw-r--r--dev-qt/qtspeech/qtspeech-5.15.7.ebuild36
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest
index f2e076f64ec2..a73a248f81ce 100644
--- a/dev-qt/qtspeech/Manifest
+++ b/dev-qt/qtspeech/Manifest
@@ -1,2 +1,4 @@
DIST qtspeech-5.15.5-gentoo-kde-1.tar.xz 1036 BLAKE2B 6b8a8ccd2d69ed3f286dbeb00c0175c847768cf2f5256fdb3c655bada3fb39d6a5d65f539ffefbed06e8164e2d9e9914ed25d6757bd5eae7d4da002977a37650 SHA512 28983faaa642e35dd2d06bba308664a6598ef2fcf49a3841b38bd783504378f37407e3e24379c050c5c2afbaee5f457cf46cb79fadc304e0627a7dafd35cb818
+DIST qtspeech-5.15.7-gentoo-kde-1.tar.xz 1036 BLAKE2B c469a591ad538b24aaf17ce8b9b35e878511dfec5f6a555b5b6336c924b181651a898914d5d7e09d7cdb04686ed12021f3b6b6e1b8c6b5bd21af80325d77f8b9 SHA512 c9842af963fad013d760e00afb5703b7953de7ad43d06987f43f8f3678c5f5496a987ba35762b6738b499fa5c148bdf2f85e3a6df408807cc5229959ee73caaf
DIST qtspeech-everywhere-opensource-src-5.15.5.tar.xz 103640 BLAKE2B 330baa5fe9f3fdd085e804780f60682d82ff1a80596661162dbb521de4bcf1584340a882a03405b71c77c247454c28cc9fd37200536c08b9b566af9cf0981a30 SHA512 b2f3a83a462c1f067804f8c2c28e47e76588cc5d70e3f0ec66a1955890b6a419371a769ec6f8867947f4a81cfc91db3bc65c1d628038cdec6c722cbfc1217aba
+DIST qtspeech-everywhere-opensource-src-5.15.7.tar.xz 103572 BLAKE2B 580b0756e3c08dbe2ab86ad09a31b06e5f3ffa6fa3db0173bde269e6462fec7211f79c55b94dbac90b23f96a8c004ca1bd46d74dbfc1996b3e4c459ab013f2d4 SHA512 3db8edbf16366bcb155aa254483f059f0d6c6af769ff4e2bb87061c7c352fdbb30b63e4644e287a116292fa4f5f6f6c148b99fc9d39ded14e337f014a6aa66ea
diff --git a/dev-qt/qtspeech/qtspeech-5.15.7.ebuild b/dev-qt/qtspeech/qtspeech-5.15.7.ebuild
new file mode 100644
index 000000000000..23d4f4a90122
--- /dev/null
+++ b/dev-qt/qtspeech/qtspeech-5.15.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} != *9999* ]]; then
+ QT5_KDEPATCHSET_REV=1
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+fi
+
+inherit qt5-build
+
+DESCRIPTION="Text-to-speech library for the Qt5 framework"
+
+IUSE="alsa flite"
+
+RDEPEND="
+ >=app-accessibility/speech-dispatcher-0.8.7
+ =dev-qt/qtcore-${QT5_PV}*
+ flite? (
+ >=app-accessibility/flite-2[alsa?]
+ =dev-qt/qtmultimedia-${QT5_PV}*[alsa?]
+ alsa? ( media-libs/alsa-lib )
+ )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ qt_use_disable_config flite flite \
+ src/plugins/tts/tts.pro
+
+ qt_use_disable_config alsa flite_alsa \
+ src/plugins/tts/flite/flite.pro
+
+ qt5-build_src_prepare
+}