diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-06-18 05:25:47 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-06-18 14:13:50 -0400 |
commit | 0613a0f62129b573a80a9737ad3092391fcab058 (patch) | |
tree | f2dc491b4789416a7788c111c7c644dc927a32ab /dev-qt/qtspeech | |
parent | dev-qt/qtshadertools: add 6.7.2 (diff) | |
download | gentoo-0613a0f62129b573a80a9737ad3092391fcab058.tar.gz gentoo-0613a0f62129b573a80a9737ad3092391fcab058.tar.bz2 gentoo-0613a0f62129b573a80a9737ad3092391fcab058.zip |
dev-qt/qtspeech: add 6.7.2
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtspeech')
-rw-r--r-- | dev-qt/qtspeech/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtspeech/qtspeech-6.7.2.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest index d38beca7e810..1b30dc8d0237 100644 --- a/dev-qt/qtspeech/Manifest +++ b/dev-qt/qtspeech/Manifest @@ -1,3 +1,4 @@ DIST qtspeech-5.15.14-gentoo-kde-1.tar.xz 1044 BLAKE2B 9f5feb7168f17fa76e89efa2c6b08a339dcf024c2a248c3a23d210570a99e9232a06b0559593adf6eb62cffea4fa62e942c6e0f4efecfd3f073276e49e5a9210 SHA512 9a468eb627902932cd39d6b59216f3aff3183f047dec61361857ccc47502406731429abc39940e21b0f62c2ad2bc3bbe3f1d0a78e57f13fb891821ef2307bf90 DIST qtspeech-everywhere-opensource-src-5.15.14.tar.xz 95916 BLAKE2B 15673759f71d4096e29854caa398a5b72257d77891a568e8e4561403b6d88f584a709ab1281c69ff99b250030c40b85848436254b5b6b2277b95728994b81f14 SHA512 87d021efb5d07704dd5469bb3050e9381e8da47d2ef41bd37a95ac1903410b781283af42694dd1300c84bd0f0ea219e61da0a3aaf6204937578d26044a297f79 DIST qtspeech-everywhere-src-6.7.1.tar.xz 261772 BLAKE2B a776930705b7ad7a127997d35046c0101a8c40111b5cec50779944b2db9aaff8ddce3d0d7a25152d4a13360a5c30c2b9993fe17ff931180ecb32845de90be7b3 SHA512 b97fc36601c77e9c594077e15be658f6307a2d89cc1c23594143827eb92b72182a671e418e3f83d3e072465068546d626a4cfc09ee03738f8c5a244984587b67 +DIST qtspeech-everywhere-src-6.7.2.tar.xz 262360 BLAKE2B 0faceb7e8425ccb03574fa6db5a9f8dab967197341fce497fc2600a6200d417dba8b83a6a7616fed7cbce3d2c34b48b77e37814518996f917aeadc7ca628ebff SHA512 f6e598834ab455c9feb5836b0add05802261210be088f7860b746a214a5be7d332a43d7c09bd03eef48d362165f2739b858e966249c061c9ef537346453bd588 diff --git a/dev-qt/qtspeech/qtspeech-6.7.2.ebuild b/dev-qt/qtspeech/qtspeech-6.7.2.ebuild new file mode 100644 index 000000000000..b668e25bbabd --- /dev/null +++ b/dev-qt/qtspeech/qtspeech-6.7.2.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 ~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 +} |