summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-10-08 00:50:56 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-10-08 01:01:19 -0400
commit999f27906e127ac6b6cbdc1b224aee0c30dbbfc8 (patch)
treeaa0cedf4e56a42640dad36ef57b19aa258f5a221 /dev-qt/qtspeech
parentdev-qt/qtshadertools: add 6.8.0 (diff)
downloadgentoo-999f27906e127ac6b6cbdc1b224aee0c30dbbfc8.tar.gz
gentoo-999f27906e127ac6b6cbdc1b224aee0c30dbbfc8.tar.bz2
gentoo-999f27906e127ac6b6cbdc1b224aee0c30dbbfc8.zip
dev-qt/qtspeech: add 6.8.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtspeech')
-rw-r--r--dev-qt/qtspeech/Manifest1
-rw-r--r--dev-qt/qtspeech/qtspeech-6.8.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest
index 932dc0e6d669..237dd9056912 100644
--- a/dev-qt/qtspeech/Manifest
+++ b/dev-qt/qtspeech/Manifest
@@ -2,3 +2,4 @@ DIST qtspeech-5.15.14-gentoo-kde-1.tar.xz 1044 BLAKE2B 9f5feb7168f17fa76e89efa2c
DIST qtspeech-everywhere-opensource-src-5.15.14.tar.xz 95916 BLAKE2B 15673759f71d4096e29854caa398a5b72257d77891a568e8e4561403b6d88f584a709ab1281c69ff99b250030c40b85848436254b5b6b2277b95728994b81f14 SHA512 87d021efb5d07704dd5469bb3050e9381e8da47d2ef41bd37a95ac1903410b781283af42694dd1300c84bd0f0ea219e61da0a3aaf6204937578d26044a297f79
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
diff --git a/dev-qt/qtspeech/qtspeech-6.8.0.ebuild b/dev-qt/qtspeech/qtspeech-6.8.0.ebuild
new file mode 100644
index 000000000000..1b13d4434223
--- /dev/null
+++ b/dev-qt/qtspeech/qtspeech-6.8.0.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
+}