From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C42361581F3 for ; Mon, 2 Dec 2024 07:24:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 919D6E0827; Mon, 2 Dec 2024 07:23:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72EBBE0827 for ; Mon, 2 Dec 2024 07:23:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68ED6342F92 for ; Mon, 2 Dec 2024 07:23:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A77E92145 for ; Mon, 2 Dec 2024 07:23:54 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1733124166.fb4d010fbf0fde2ad52364fe0ac59858e358e68b.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtspeech/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtspeech/Manifest dev-qt/qtspeech/qtspeech-6.8.1.ebuild X-VCS-Directories: dev-qt/qtspeech/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: fb4d010fbf0fde2ad52364fe0ac59858e358e68b X-VCS-Branch: master Date: Mon, 2 Dec 2024 07:23:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 000e379c-898d-411c-a3ca-5bf189f278dd X-Archives-Hash: ba6cdd8f8b07b1834f13000351ef67ec commit: fb4d010fbf0fde2ad52364fe0ac59858e358e68b Author: Ionen Wolkens gentoo org> AuthorDate: Mon Dec 2 06:25:31 2024 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Mon Dec 2 07:22:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4d010f dev-qt/qtspeech: add 6.8.1 Signed-off-by: Ionen Wolkens gentoo.org> dev-qt/qtspeech/Manifest | 1 + dev-qt/qtspeech/qtspeech-6.8.1.ebuild | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-qt/qtspeech/Manifest b/dev-qt/qtspeech/Manifest index b4f12134c24b..d9840c6cd36e 100644 --- a/dev-qt/qtspeech/Manifest +++ b/dev-qt/qtspeech/Manifest @@ -5,3 +5,4 @@ DIST qtspeech-everywhere-opensource-src-5.15.16.tar.xz 95716 BLAKE2B 79e9d960df5 DIST qtspeech-everywhere-src-6.7.2.tar.xz 262360 BLAKE2B 0faceb7e8425ccb03574fa6db5a9f8dab967197341fce497fc2600a6200d417dba8b83a6a7616fed7cbce3d2c34b48b77e37814518996f917aeadc7ca628ebff SHA512 f6e598834ab455c9feb5836b0add05802261210be088f7860b746a214a5be7d332a43d7c09bd03eef48d362165f2739b858e966249c061c9ef537346453bd588 DIST qtspeech-everywhere-src-6.7.3.tar.xz 262376 BLAKE2B 065b50141c712dae2103c0e81dc7dfcd255df502b598e924e0bb3d2498c670dbf71cd2f65da341a6833c7b60a78580ba0bdf68fa9430373fb8587281ceb87a22 SHA512 b2b5a3b67160b75a679701eeac97587add53a1f8c2a2d120a61c54ead1d519d1fb726945fd2d4871b800f028e70f44e1079480322f71e2010c72b675b1cf935f DIST qtspeech-everywhere-src-6.8.0.tar.xz 262308 BLAKE2B e75b0ef821b303532f2db8c60a3c4240c46c611f164ffe8d5d5bb82b072598d87615376b96ac124a52b7e0b08ec7bef874ee211808e1f5abd860cda58c823928 SHA512 d1e2597f5407775750378844a6daecb27da2c6ffe720e4008e11ade07f183ec4d64c0bd25845bef81d6d0c31f6dafe0df160265f952a050b72d88715379b7720 +DIST qtspeech-everywhere-src-6.8.1.tar.xz 262512 BLAKE2B 65e20f1785d02dc6e0904c2ff47e23c73f5fa2f7fd5ebc62c35a8241963547ccb2a7374b399f6d1fb5bd1047ff7b9b9e147c1fe9f0349cd8f7008bbe4858802e SHA512 a20d89c5bcad354d1896c87bf9c0a401e824b5dcbf0e5c86a72381e8f7f9d5946f10536b7a54d899c2fd6b84018ccd9159be4ffdc84cf2e568b54c688aa1101d diff --git a/dev-qt/qtspeech/qtspeech-6.8.1.ebuild b/dev-qt/qtspeech/qtspeech-6.8.1.ebuild new file mode 100644 index 000000000000..1b13d4434223 --- /dev/null +++ b/dev-qt/qtspeech/qtspeech-6.8.1.ebuild @@ -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 +}