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:
2026-07-03 09:45:00 +02:00
parent 2247967dd3
commit 692df50613
319 changed files with 15302 additions and 0 deletions

2
dev-qt/qtspeech/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST qtspeech-everywhere-src-6.10.3.tar.xz 248140 BLAKE2B 9664a4f5834eaf809ef5fef9e137deed4e38e649b09555856e3bfbfb5423ed3e49afd0816ca4c95c26ce9d040ec4707f10a38235b9592803f0850716f01b8709 SHA512 12e35e9d94a499661f1a1512ead82d607fd0867ceb515d5e24fa8154075f93edeaa265a7d15d38168c7ccfa0b2d3e426826e7ed415da1e0951631cb78f15dd6c
DIST qtspeech-everywhere-src-6.11.1.tar.xz 249232 BLAKE2B 2bd808c2ba83a7ebebdbd5fec210a131b3b34b9589a77cd7f89794e3ee86b042f8ba0ff11a7d2000e00433a50be49d53dda4949ef37aae2df780ebb13852909c SHA512 99958a370cbbd65d1c6b83904902550dcd0219be846b23e0cf3c23f2450bb2486768885107e4e18aca02bff06fd810332fda98240ad03fa8aa9d1e674d7d506a

View 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://qt-project.atlassian.net/</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>

View 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
}

View 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
}

View 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
}

View 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
}

View 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
}