diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-09-13 08:46:22 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-09-13 12:40:18 -0400 |
commit | 944df3924e64523fb0a736f67a635a02ca22d0cc (patch) | |
tree | ee096d479eda1cebe71e3b89cdfc3d279386356c /dev-qt/qtspeech | |
parent | profiles/arch: mask dev-qt/qtbase[renderdoc] on non-amd64 (diff) | |
download | gentoo-944df3924e64523fb0a736f67a635a02ca22d0cc.tar.gz gentoo-944df3924e64523fb0a736f67a635a02ca22d0cc.tar.bz2 gentoo-944df3924e64523fb0a736f67a635a02ca22d0cc.zip |
dev-qt/qtspeech: make qml optional in 6.6+
No longer a hard dependency.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt/qtspeech')
-rw-r--r-- | dev-qt/qtspeech/metadata.xml | 1 | ||||
-rw-r--r-- | dev-qt/qtspeech/qtspeech-6.6.9999.ebuild | 5 | ||||
-rw-r--r-- | dev-qt/qtspeech/qtspeech-6.9999.ebuild | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/dev-qt/qtspeech/metadata.xml b/dev-qt/qtspeech/metadata.xml index fa0f657a4256..b51b2479697c 100644 --- a/dev-qt/qtspeech/metadata.xml +++ b/dev-qt/qtspeech/metadata.xml @@ -12,6 +12,7 @@ </upstream> <use> <flag name="flite">Enable text-to-speech synthesizer plugin using <pkg>app-accessibility/flite</pkg> engine</flag> + <flag name="qml">Build QML/QtQuick bindings and imports</flag> <flag name="speechd">Enable text-to-speech synthesizer plugin using <pkg>app-accessibility/speech-dispatcher</pkg> engine</flag> </use> <slots> diff --git a/dev-qt/qtspeech/qtspeech-6.6.9999.ebuild b/dev-qt/qtspeech/qtspeech-6.6.9999.ebuild index 94803ab4eff3..e242ec0db59d 100644 --- a/dev-qt/qtspeech/qtspeech-6.6.9999.ebuild +++ b/dev-qt/qtspeech/qtspeech-6.6.9999.ebuild @@ -11,7 +11,7 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then KEYWORDS="~amd64" fi -IUSE="flite +speechd" +IUSE="flite qml +speechd" # can build with neither, but then it is just mock tts and may be confusing REQUIRED_USE="|| ( flite speechd )" @@ -25,17 +25,18 @@ RESTRICT="test" RDEPEND=" ~dev-qt/qtbase-${PV}:6 - ~dev-qt/qtdeclarative-${PV}:6 flite? ( app-accessibility/flite ~dev-qt/qtmultimedia-${PV}:6 ) + 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) diff --git a/dev-qt/qtspeech/qtspeech-6.9999.ebuild b/dev-qt/qtspeech/qtspeech-6.9999.ebuild index 94803ab4eff3..e242ec0db59d 100644 --- a/dev-qt/qtspeech/qtspeech-6.9999.ebuild +++ b/dev-qt/qtspeech/qtspeech-6.9999.ebuild @@ -11,7 +11,7 @@ if [[ ${QT6_BUILD_TYPE} == release ]]; then KEYWORDS="~amd64" fi -IUSE="flite +speechd" +IUSE="flite qml +speechd" # can build with neither, but then it is just mock tts and may be confusing REQUIRED_USE="|| ( flite speechd )" @@ -25,17 +25,18 @@ RESTRICT="test" RDEPEND=" ~dev-qt/qtbase-${PV}:6 - ~dev-qt/qtdeclarative-${PV}:6 flite? ( app-accessibility/flite ~dev-qt/qtmultimedia-${PV}:6 ) + 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) |