summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2025-06-03 05:55:53 -0400
committerIonen Wolkens <ionen@gentoo.org>2025-06-03 06:37:06 -0400
commitda6cda354a01974b56e5c657297d0a43f6c42b4a (patch)
tree32cff23de0af187e763128286ef882252bf6c10a /dev-qt
parent8fa3e6b88f6a2a1470d9d52804153e482e69d766 (diff)
downloadgentoo-da6cda354a01974b56e5c657297d0a43f6c42b4a.tar.gz
gentoo-da6cda354a01974b56e5c657297d0a43f6c42b4a.tar.bz2
gentoo-da6cda354a01974b56e5c657297d0a43f6c42b4a.zip
dev-qt/qtspeech: add 6.9.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtspeech/Manifest1
-rw-r--r--dev-qt/qtspeech/qtspeech-6.9.1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest
index 801e5e030675..4860357bfd10 100644
--- a/dev-qt/qtspeech/Manifest
+++ b/dev-qt/qtspeech/Manifest
@@ -5,3 +5,4 @@ DIST qtspeech-everywhere-opensource-src-5.15.17.tar.xz 97804 BLAKE2B 7307963b842
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
+DIST qtspeech-everywhere-src-6.9.1.tar.xz 262724 BLAKE2B a812ec34fb40d2d46d94f5d2d15113c25762982e78cbf35cd5f7bb0416a8859013a6715ac753c861d0b52caa01f1879f8a15502d28fa009a3c62e5a408f4a2a3 SHA512 6384208edb5e1350ff8119a8c4e79101a41c605b8c77220db04a683602a996c582516b2cd31d36c72821b5628e4255fe88c80c5976979d49d73461a4b1fcecd4
diff --git a/dev-qt/qtspeech/qtspeech-6.9.1.ebuild b/dev-qt/qtspeech/qtspeech-6.9.1.ebuild
new file mode 100644
index 000000000000..f58e66d72af1
--- /dev/null
+++ b/dev-qt/qtspeech/qtspeech-6.9.1.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
+}