diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest index ab0de447e6e69..a8164c41193b2 100644 --- a/dev-qt/qtspeech/Manifest +++ b/dev-qt/qtspeech/Manifest @@ -1 +1,2 @@ DIST qtspeech-everywhere-src-6.11.1.tar.xz 249232 BLAKE2B 2bd808c2ba83a7ebebdbd5fec210a131b3b34b9589a77cd7f89794e3ee86b042f8ba0ff11a7d2000e00433a50be49d53dda4949ef37aae2df780ebb13852909c SHA512 99958a370cbbd65d1c6b83904902550dcd0219be846b23e0cf3c23f2450bb2486768885107e4e18aca02bff06fd810332fda98240ad03fa8aa9d1e674d7d506a +DIST qtspeech-everywhere-src-6.11.2.tar.xz 249288 BLAKE2B 6d4dca8c7e1e2742a3dac3449deea51ea0b1c72f68d347c3ef876e4a607442118ea5acf2e99db7fc29831e7e8edbefe838b5475c7ca995d179eaa8017cb64cfe SHA512 f35c2380ea053910e4acfafd6359cab37f7c5295d9a96ca2c85b0ee3d21f7830b7a4dff1f9f4b87cf8ed1f0efb609b83f40a6f311cea31ec1f3414a72ab27d5c diff --git a/dev-qt/qtspeech/qtspeech-6.11.2.ebuild b/dev-qt/qtspeech/qtspeech-6.11.2.ebuild new file mode 100644 index 0000000000000..3c7c6a3f13164 --- /dev/null +++ b/dev-qt/qtspeech/qtspeech-6.11.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023-2026 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 ~ppc64 ~riscv ~x86" +fi + +IUSE="flite qml +speechd" + +RDEPEND=" + ~dev-qt/qtbase-${PV}:6 + ~dev-qt/qtmultimedia-${PV}:6 + flite? ( + app-accessibility/flite + ~dev-qt/qtbase-${PV}:6[concurrent] + ) + 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) + ) + + qt6-build_src_configure +}