From 24065a34e77c26338383dd37f3ca3aa0b0c8f055 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 2 Jun 2026 08:12:34 -0400 Subject: [PATCH] dev-qt/qtspeech: add 6.12.9999 Signed-off-by: Ionen Wolkens --- dev-qt/qtspeech/qtspeech-6.12.9999.ebuild | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-qt/qtspeech/qtspeech-6.12.9999.ebuild diff --git a/dev-qt/qtspeech/qtspeech-6.12.9999.ebuild b/dev-qt/qtspeech/qtspeech-6.12.9999.ebuild new file mode 100644 index 0000000000000..3c7c6a3f13164 --- /dev/null +++ b/dev-qt/qtspeech/qtspeech-6.12.9999.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 +}