commit: fb4d010fbf0fde2ad52364fe0ac59858e358e68b
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 2 06:25:31 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Dec 2 07:22:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4d010f
dev-qt/qtspeech: add 6.8.1
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtspeech/Manifest | 1 +
dev-qt/qtspeech/qtspeech-6.8.1.ebuild | 44 +++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest
index b4f12134c24b..d9840c6cd36e 100644
--- a/dev-qt/qtspeech/Manifest
+++ b/dev-qt/qtspeech/Manifest
@@ -5,3 +5,4 @@ DIST qtspeech-everywhere-opensource-src-5.15.16.tar.xz 95716
BLAKE2B 79e9d960df5
DIST qtspeech-everywhere-src-6.7.2.tar.xz 262360 BLAKE2B
0faceb7e8425ccb03574fa6db5a9f8dab967197341fce497fc2600a6200d417dba8b83a6a7616fed7cbce3d2c34b48b77e37814518996f917aeadc7ca628ebff
SHA512
f6e598834ab455c9feb5836b0add05802261210be088f7860b746a214a5be7d332a43d7c09bd03eef48d362165f2739b858e966249c061c9ef537346453bd588
DIST qtspeech-everywhere-src-6.7.3.tar.xz 262376 BLAKE2B
065b50141c712dae2103c0e81dc7dfcd255df502b598e924e0bb3d2498c670dbf71cd2f65da341a6833c7b60a78580ba0bdf68fa9430373fb8587281ceb87a22
SHA512
b2b5a3b67160b75a679701eeac97587add53a1f8c2a2d120a61c54ead1d519d1fb726945fd2d4871b800f028e70f44e1079480322f71e2010c72b675b1cf935f
DIST qtspeech-everywhere-src-6.8.0.tar.xz 262308 BLAKE2B
e75b0ef821b303532f2db8c60a3c4240c46c611f164ffe8d5d5bb82b072598d87615376b96ac124a52b7e0b08ec7bef874ee211808e1f5abd860cda58c823928
SHA512
d1e2597f5407775750378844a6daecb27da2c6ffe720e4008e11ade07f183ec4d64c0bd25845bef81d6d0c31f6dafe0df160265f952a050b72d88715379b7720
+DIST qtspeech-everywhere-src-6.8.1.tar.xz 262512 BLAKE2B
65e20f1785d02dc6e0904c2ff47e23c73f5fa2f7fd5ebc62c35a8241963547ccb2a7374b399f6d1fb5bd1047ff7b9b9e147c1fe9f0349cd8f7008bbe4858802e
SHA512
a20d89c5bcad354d1896c87bf9c0a401e824b5dcbf0e5c86a72381e8f7f9d5946f10536b7a54d899c2fd6b84018ccd9159be4ffdc84cf2e568b54c688aa1101d
diff --git a/dev-qt/qtspeech/qtspeech-6.8.1.ebuild
b/dev-qt/qtspeech/qtspeech-6.8.1.ebuild
new file mode 100644
index 000000000000..1b13d4434223
--- /dev/null
+++ b/dev-qt/qtspeech/qtspeech-6.8.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# tests are kind of flaky, sometimes hang, and also fail with clang
+# (not that it's unusable with clang) -- may be worth revisiting
+# eventually given qtspeech is still somewhat new (added in 6.4.0)
+QT6_RESTRICT_TESTS=1
+
+inherit qt6-build
+
+DESCRIPTION="Text-to-speech library for the Qt6 framework"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+IUSE="flite qml +speechd"
+# can build with neither, but then it is just mock tts and may be confusing
+REQUIRED_USE="|| ( flite speechd )"
+
+RDEPEND="
+ ~dev-qt/qtbase-${PV}:6
+ ~dev-qt/qtmultimedia-${PV}:6
+ flite? ( app-accessibility/flite )
+ qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
+ speechd? ( app-accessibility/speech-dispatcher )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt6Qml)
+ $(qt_feature flite)
+ $(qt_feature speechd)
+
+ # flite_alsa was likely to work around old issues in flite, it
does
+ # nothing but add -lasound (no code change, and is unneeded)
+ -DQT_FEATURE_flite_alsa=OFF
+ )
+
+ qt6-build_src_configure
+}