Add dev-qt from an older version of the gentoo repo
Qt5 has been removed, we restore it since we still use it.
This commit is contained in:
7
dev-qt/qtspeech/Manifest
Normal file
7
dev-qt/qtspeech/Manifest
Normal file
@ -0,0 +1,7 @@
|
||||
DIST qtspeech-5.15.16-gentoo-kde-1.tar.xz 1048 BLAKE2B 66a3a3ebdbcf9973a35b26180092d9df2d655f23753ea02ea5868c6fb0bca8bbc2647bf9dad6edb85feb9668e072d480aab94a84ba149fe188aa047d7a92701e SHA512 148372b02124a49a70ba17ab43e562c3373371660806ff625f6cb4553e189c99c4929c92309022ad53975cdf5c7cca33f2f0d2c5586ae5251f2390cc019db28f
|
||||
DIST qtspeech-5.15.17-gentoo-kde-1.tar.xz 1044 BLAKE2B d08c9ae3e321ee91d912772f8a3a34afd2e3692af4684a1851c044d8ad3e2a0a32d68ffeb70ed9a2cb32766917aedc9ec1d4f3da23e5ecbcda150b0978f1ee33 SHA512 c37a38339f04059b5011ea2d595293960e00548f9ffcc627b58cadf22b88d30355241d100ca68492a4d3e9306782ca95de6502f83ea69472f2a442940c48602d
|
||||
DIST qtspeech-everywhere-opensource-src-5.15.16.tar.xz 95716 BLAKE2B 79e9d960df53c3d26a6770de73e0aee025659202755e28254246baa35988e914f146fb1de4b1bd8c63a9cb23544ed26063943380cf18181403ccafab4b274e89 SHA512 d0ff73b35e6d94751a31b77bcdc084623d947ace092bdddc98f29d79bf932425fd5adbef74edceb4e8dc9065bfda49efa651cef63c72fcb42171ff083b29b335
|
||||
DIST qtspeech-everywhere-opensource-src-5.15.17.tar.xz 97804 BLAKE2B 7307963b842d685661adfd2fac4b2bfb23950ce12adf6900a94624c59f0b8defdfb6c5ae15d34226b519dfcdccac19a93fffae0194f0f5c5571749e565cae9ca SHA512 4ff8afb0a18cb0290ed34e1057060455a26afea087d37597e54048f2672e5642727652af0a03bef29f8788d85e2a8ea95462d520d3b9b4787af900fd6903eab2
|
||||
DIST qtspeech-everywhere-src-6.8.2.tar.xz 262484 BLAKE2B 55a6fbaeffcbb2673269eef131d2833d1768cf9bd1ad98cdd812e329127aceaf0b5cb615440c35230e39882b74e159ead744fbc58ecf57a27bb488c082c02dce SHA512 30a58bcb4f193f954647eb9e5a04ffd6f6d6566b0f241ce158df37e12b0462cba3296aa50abafdd9ea2a09481a8a366f12131e7c925a431c642b2c12bf4b1190
|
||||
DIST qtspeech-everywhere-src-6.8.3.tar.xz 264416 BLAKE2B 1f6fbf305ebe05098caa75eb285e29b8c3b525856b8cb8de69cba76bdaa99ae7baf50e5650d950ecee4a1ae20a8de5bf8a279aeb3a074edaeec492c124b8de81 SHA512 6434ccf743604bf4ac4bc31b26c7dbc7f765ec95174f0d9047bec822292f85e6b21ace825b52ce60bd388d9c333d427b206209f78c612782701567bb7d271e6d
|
||||
DIST qtspeech-everywhere-src-6.9.0.tar.xz 262856 BLAKE2B 316a41ad306d2eff4e7fd0bf93bd955ff7f4e1d550a5afa641e75cc5d7689487c15f135f2ae4457d2e8fc39f5c60fb5ca9f8d12aa173c8204bc94d869e126e66 SHA512 adc36b92c9add20a67b178e1ff6942953f350f388f3f99defacde470a75c87272af35f933b55e9bfb262f7ba824c082d47d144392b187b028d054749d239f281
|
||||
23
dev-qt/qtspeech/metadata.xml
Normal file
23
dev-qt/qtspeech/metadata.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
<remote-id type="github">qt/qtspeech</remote-id>
|
||||
</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>
|
||||
<subslots>
|
||||
Must only be used by packages that are known to use private parts of the Qt API.
|
||||
</subslots>
|
||||
</slots>
|
||||
</pkgmetadata>
|
||||
36
dev-qt/qtspeech/qtspeech-5.15.16.ebuild
Normal file
36
dev-qt/qtspeech/qtspeech-5.15.16.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
QT5_KDEPATCHSET_REV=1
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Text-to-speech library for the Qt5 framework"
|
||||
|
||||
IUSE="alsa flite"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/speech-dispatcher-0.8.7
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
flite? (
|
||||
>=app-accessibility/flite-2[alsa?]
|
||||
=dev-qt/qtmultimedia-${QT5_PV}*[alsa?]
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_config flite flite \
|
||||
src/plugins/tts/tts.pro
|
||||
|
||||
qt_use_disable_config alsa flite_alsa \
|
||||
src/plugins/tts/flite/flite.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
36
dev-qt/qtspeech/qtspeech-5.15.17.ebuild
Normal file
36
dev-qt/qtspeech/qtspeech-5.15.17.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
QT5_KDEPATCHSET_REV=1
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Text-to-speech library for the Qt5 framework"
|
||||
|
||||
IUSE="alsa flite"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/speech-dispatcher-0.8.7
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
flite? (
|
||||
>=app-accessibility/flite-2[alsa?]
|
||||
=dev-qt/qtmultimedia-${QT5_PV}*[alsa?]
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_config flite flite \
|
||||
src/plugins/tts/tts.pro
|
||||
|
||||
qt_use_disable_config alsa flite_alsa \
|
||||
src/plugins/tts/flite/flite.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
38
dev-qt/qtspeech/qtspeech-6.10.3-r1.ebuild
Normal file
38
dev-qt/qtspeech/qtspeech-6.10.3-r1.ebuild
Normal file
@ -0,0 +1,38 @@
|
||||
# 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 )
|
||||
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
|
||||
}
|
||||
41
dev-qt/qtspeech/qtspeech-6.11.1-r1.ebuild
Normal file
41
dev-qt/qtspeech/qtspeech-6.11.1-r1.ebuild
Normal file
@ -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
|
||||
}
|
||||
41
dev-qt/qtspeech/qtspeech-6.11.9999.ebuild
Normal file
41
dev-qt/qtspeech/qtspeech-6.11.9999.ebuild
Normal file
@ -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
|
||||
}
|
||||
41
dev-qt/qtspeech/qtspeech-6.12.9999.ebuild
Normal file
41
dev-qt/qtspeech/qtspeech-6.12.9999.ebuild
Normal file
@ -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
|
||||
}
|
||||
44
dev-qt/qtspeech/qtspeech-6.8.2.ebuild
Normal file
44
dev-qt/qtspeech/qtspeech-6.8.2.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 2023-2025 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 ppc 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
|
||||
}
|
||||
44
dev-qt/qtspeech/qtspeech-6.8.3.ebuild
Normal file
44
dev-qt/qtspeech/qtspeech-6.8.3.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 2023-2025 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 ~ppc 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
|
||||
}
|
||||
44
dev-qt/qtspeech/qtspeech-6.9.0.ebuild
Normal file
44
dev-qt/qtspeech/qtspeech-6.9.0.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 2023-2025 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 ~ppc ~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
|
||||
}
|
||||
44
dev-qt/qtspeech/qtspeech-6.9.9999.ebuild
Normal file
44
dev-qt/qtspeech/qtspeech-6.9.9999.ebuild
Normal file
@ -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 ~ppc ~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
|
||||
}
|
||||
44
dev-qt/qtspeech/qtspeech-6.9999.ebuild
Normal file
44
dev-qt/qtspeech/qtspeech-6.9999.ebuild
Normal file
@ -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 ~ppc ~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
|
||||
}
|
||||
Reference in New Issue
Block a user