diff options
-rw-r--r-- | dev-qt/qtspeech/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/qtspeech/qtspeech-6.6.0_rc.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest index 4feccbe6a821..85dd79eba91e 100644 --- a/dev-qt/qtspeech/Manifest +++ b/dev-qt/qtspeech/Manifest @@ -1,3 +1,4 @@ DIST qtspeech-5.15.10-gentoo-kde-1.tar.xz 1044 BLAKE2B e555c475fa1824ffbe34c5a0e0b6c24eeec81ad29337966e89f9dbd7d43c3a5d079603ad6dbe51e695984741cff0a749921b329242bd68d23c4ff9eed3eff008 SHA512 c4551ba08e9c23af59b9ce86d4ea0420c0b60372e3bb177d17b066b8651bb6d726c1d9981b6cf762f1cbce0fdae8f05cd77055af13384eb333355c1ba834428b DIST qtspeech-everywhere-opensource-src-5.15.10.tar.xz 104944 BLAKE2B 7e664719d352cd29cb289f8b8f59d4595ffe343dca028a69030032030eb02c601b29492cea885bcab940264624b39042773bc70884512726abcd89dc27065b64 SHA512 b938c8baba11aa9a40a2ec5492df32c511164686aa2649d78023beccc8b23f1e0a77193672f7bc7d7f72aeb7b59fe30972683f5a4e22e1e39da9744ecd40201d DIST qtspeech-everywhere-src-6.5.2.tar.xz 249568 BLAKE2B af86153ea1cf0f248ab80aa828a0457e23e1f97cc5ae91bf60fa426a43a44247230b643ae48e6ae839668ea9a66edc94e0358502abcab03788cd7d1368403592 SHA512 bc6ca225f9eadc838e63bb3b011f604c1ae18eee76445c2c0d22152e473b9316b6903e349aee2555c5a110ef65fbd25ca9065b22ae4cef6e5290daa665c78434 +DIST qtspeech-everywhere-src-6.6.0-rc.tar.xz 270020 BLAKE2B 22508eb6cd967267ae02c99331af90be6aef7171c0d390e95afbf8104961c95199b3e654db976957a65468119052d646f288e5478d543ac0b3547cb603bb0109 SHA512 30d78ae40e44facc4915d55e1aeada78a31fb3be68265a772499a7e40a1c223e317339d096df98a27fff8f6c538c8a6b602308e8ec6037110eb8dea0739fe96c diff --git a/dev-qt/qtspeech/qtspeech-6.6.0_rc.ebuild b/dev-qt/qtspeech/qtspeech-6.6.0_rc.ebuild new file mode 100644 index 000000000000..e8a12770ddf0 --- /dev/null +++ b/dev-qt/qtspeech/qtspeech-6.6.0_rc.ebuild @@ -0,0 +1,47 @@ +# 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 qml +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/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 +} |