diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-12 08:33:15 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-13 12:40:16 -0400 |
commit | 6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9 (patch) | |
tree | b6e6a851ee3af700f7b82a7184fd134b8d14ebd7 /dev-qt/qtspeech | |
parent | app-misc/yq: remove unused patch (diff) | |
download | gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.tar.gz gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.tar.bz2 gentoo-6ba6350cf5f7ef7de0f83b8fb9f6c18caffe63e9.zip |
dev-qt/*: add 6.6.9999
Sraight copies from 6.9999, pending updates as-needed to prepare
for 6.6 which is slowly approaching (6.9999 been 6.7 for some time).
6.5.9999 will be leaving soon given 6.5.3 is the last 6.5 release
for plebians.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtspeech')
-rw-r--r-- | dev-qt/qtspeech/qtspeech-6.6.9999.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/qtspeech-6.6.9999.ebuild b/dev-qt/qtspeech/qtspeech-6.6.9999.ebuild new file mode 100644 index 000000000000..94803ab4eff3 --- /dev/null +++ b/dev-qt/qtspeech/qtspeech-6.6.9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qt6-build + +DESCRIPTION="Text-to-speech library for the Qt6 framework" + +if [[ ${QT6_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64" +fi + +IUSE="flite +speechd" +# can build with neither, but then it is just mock tts and may be confusing +REQUIRED_USE="|| ( flite speechd )" + +# TODO: tests are known failing with clang and needs looking into, albeit +# it is still usable at runtime save for applications segfaulting on exit +# similarly to QTBUG-90626 (not that this has in-tree revdeps as of writing +# of this). Restricting because also seen this result in hanging. Note that +# qtspeech:6 is still somewhat new (started in 6.4.0), and should review +# status on new major versions. +RESTRICT="test" + +RDEPEND=" + ~dev-qt/qtbase-${PV}:6 + ~dev-qt/qtdeclarative-${PV}:6 + flite? ( + app-accessibility/flite + ~dev-qt/qtmultimedia-${PV}:6 + ) + speechd? ( app-accessibility/speech-dispatcher ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + $(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 +} |