commit: 9e440a988c973b037d86b99ed1f0b79f9a469fb0
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 2 04:41:01 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Apr 2 04:52:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e440a98
dev-qt/qtspeech: add 6.9.0
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-qt/qtspeech/Manifest | 1 +
dev-qt/qtspeech/qtspeech-6.9.0.ebuild | 44 +++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest
index 0c21e2ec9773..33682818f535 100644
--- a/dev-qt/qtspeech/Manifest
+++ b/dev-qt/qtspeech/Manifest
@@ -2,3 +2,4 @@ DIST qtspeech-5.15.16-gentoo-kde-1.tar.xz 1048 BLAKE2B
66a3a3ebdbcf9973a35b26180
DIST qtspeech-everywhere-opensource-src-5.15.16.tar.xz 95716 BLAKE2B
79e9d960df53c3d26a6770de73e0aee025659202755e28254246baa35988e914f146fb1de4b1bd8c63a9cb23544ed26063943380cf18181403ccafab4b274e89
SHA512
d0ff73b35e6d94751a31b77bcdc084623d947ace092bdddc98f29d79bf932425fd5adbef74edceb4e8dc9065bfda49efa651cef63c72fcb42171ff083b29b335
DIST qtspeech-everywhere-src-6.8.2.tar.xz 262484 BLAKE2B
55a6fbaeffcbb2673269eef131d2833d1768cf9bd1ad98cdd812e329127aceaf0b5cb615440c35230e39882b74e159ead744fbc58ecf57a27bb488c082c02dce
SHA512
30a58bcb4f193f954647eb9e5a04ffd6f6d6566b0f241ce158df37e12b0462cba3296aa50abafdd9ea2a09481a8a366f12131e7c925a431c642b2c12bf4b1190
DIST qtspeech-everywhere-src-6.8.3.tar.xz 264416 BLAKE2B
1f6fbf305ebe05098caa75eb285e29b8c3b525856b8cb8de69cba76bdaa99ae7baf50e5650d950ecee4a1ae20a8de5bf8a279aeb3a074edaeec492c124b8de81
SHA512
6434ccf743604bf4ac4bc31b26c7dbc7f765ec95174f0d9047bec822292f85e6b21ace825b52ce60bd388d9c333d427b206209f78c612782701567bb7d271e6d
+DIST qtspeech-everywhere-src-6.9.0.tar.xz 262856 BLAKE2B
316a41ad306d2eff4e7fd0bf93bd955ff7f4e1d550a5afa641e75cc5d7689487c15f135f2ae4457d2e8fc39f5c60fb5ca9f8d12aa173c8204bc94d869e126e66
SHA512
adc36b92c9add20a67b178e1ff6942953f350f388f3f99defacde470a75c87272af35f933b55e9bfb262f7ba824c082d47d144392b187b028d054749d239f281
diff --git a/dev-qt/qtspeech/qtspeech-6.9.0.ebuild
b/dev-qt/qtspeech/qtspeech-6.9.0.ebuild
new file mode 100644
index 000000000000..f58e66d72af1
--- /dev/null
+++ b/dev-qt/qtspeech/qtspeech-6.9.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2023-2025 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
+}