summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2025-03-14 02:17:10 -0400
committerIonen Wolkens <ionen@gentoo.org>2025-03-14 04:14:15 -0400
commit72408301979aa55989f5bb81f1c49a8f9f5584a2 (patch)
tree4ae3ca84cf22710908ddc49dd7af1348f72e7139 /dev-qt
parentd14439cf07276a256887e457525ff6816521a55b (diff)
downloadgentoo-72408301979aa55989f5bb81f1c49a8f9f5584a2.tar.gz
gentoo-72408301979aa55989f5bb81f1c49a8f9f5584a2.tar.bz2
gentoo-72408301979aa55989f5bb81f1c49a8f9f5584a2.zip
dev-qt/qtspeech: add 6.9.0_rc
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtspeech/Manifest1
-rw-r--r--dev-qt/qtspeech/qtspeech-6.9.0_rc.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest
index 2098995a60d5..3e77b52c297a 100644
--- a/dev-qt/qtspeech/Manifest
+++ b/dev-qt/qtspeech/Manifest
@@ -1,3 +1,4 @@
DIST qtspeech-5.15.16-gentoo-kde-1.tar.xz 1048 BLAKE2B 66a3a3ebdbcf9973a35b26180092d9df2d655f23753ea02ea5868c6fb0bca8bbc2647bf9dad6edb85feb9668e072d480aab94a84ba149fe188aa047d7a92701e SHA512 148372b02124a49a70ba17ab43e562c3373371660806ff625f6cb4553e189c99c4929c92309022ad53975cdf5c7cca33f2f0d2c5586ae5251f2390cc019db28f
DIST qtspeech-everywhere-opensource-src-5.15.16.tar.xz 95716 BLAKE2B 79e9d960df53c3d26a6770de73e0aee025659202755e28254246baa35988e914f146fb1de4b1bd8c63a9cb23544ed26063943380cf18181403ccafab4b274e89 SHA512 d0ff73b35e6d94751a31b77bcdc084623d947ace092bdddc98f29d79bf932425fd5adbef74edceb4e8dc9065bfda49efa651cef63c72fcb42171ff083b29b335
DIST qtspeech-everywhere-src-6.8.2.tar.xz 262484 BLAKE2B 55a6fbaeffcbb2673269eef131d2833d1768cf9bd1ad98cdd812e329127aceaf0b5cb615440c35230e39882b74e159ead744fbc58ecf57a27bb488c082c02dce SHA512 30a58bcb4f193f954647eb9e5a04ffd6f6d6566b0f241ce158df37e12b0462cba3296aa50abafdd9ea2a09481a8a366f12131e7c925a431c642b2c12bf4b1190
+DIST qtspeech-everywhere-src-6.9.0-rc.tar.xz 262744 BLAKE2B 72bacefe63d94f65db43fcfc4a2805ca68ea1bb3d5fbaaaf047f21d2dd4d3b62d43bc45ea7ae76916c687c8c1d53435a63f93596064b15fac18f95e160b1511f SHA512 568a87162b2896bef6aa84fa6fbc6975a3d581b57ba32cd5c8810da42d0088000d698969279f0d0248da1b0f37571594afe8dab99be53c87c2af55258f1abb1c
diff --git a/dev-qt/qtspeech/qtspeech-6.9.0_rc.ebuild b/dev-qt/qtspeech/qtspeech-6.9.0_rc.ebuild
new file mode 100644
index 000000000000..f58e66d72af1
--- /dev/null
+++ b/dev-qt/qtspeech/qtspeech-6.9.0_rc.ebuild
@@ -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
+}