From 8557e52864425f96e1e45d636d2fc2f07db143a2 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sun, 17 Mar 2024 10:52:40 +0200 Subject: dev-libs/ktextaddons: disable vosk plugin specifically * Patch broken by upstream changes. It's better to just disable vosk plugin and build the other available plugins. * Committer comment: Option available since upstream commit e8990e7e375073632af7409beff5442fdf569f7b "Add option for enabled it" Signed-off-by: Alfred Wingate Closes: https://github.com/gentoo/kde/pull/983 Signed-off-by: Andreas Sturmlechner --- .../files/ktextaddons-9999-no-textspeechtotext.patch | 16 ---------------- dev-libs/ktextaddons/ktextaddons-9999.ebuild | 5 ++--- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 dev-libs/ktextaddons/files/ktextaddons-9999-no-textspeechtotext.patch (limited to 'dev-libs') diff --git a/dev-libs/ktextaddons/files/ktextaddons-9999-no-textspeechtotext.patch b/dev-libs/ktextaddons/files/ktextaddons-9999-no-textspeechtotext.patch deleted file mode 100644 index bcc7cbdc8a9..00000000000 --- a/dev-libs/ktextaddons/files/ktextaddons-9999-no-textspeechtotext.patch +++ /dev/null @@ -1,16 +0,0 @@ -Unpackaged dependencies. - -https://bugs.gentoo.org/919236 -https://bugs.gentoo.org/919234 - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -100,7 +100,7 @@ add_subdirectory(textgrammarcheck) - add_subdirectory(texttranslator) - add_subdirectory(textemoticons) - add_subdirectory(textutils) --if (QT_MAJOR_VERSION STREQUAL "6") -+if (FALSE) - find_package(Qt${QT_MAJOR_VERSION} ${REQUIRED_QT_VERSION} CONFIG REQUIRED MultimediaWidgets) - add_subdirectory(textspeechtotext) - endif() diff --git a/dev-libs/ktextaddons/ktextaddons-9999.ebuild b/dev-libs/ktextaddons/ktextaddons-9999.ebuild index 6242a3cbfbd..b3cf3493b8b 100644 --- a/dev-libs/ktextaddons/ktextaddons-9999.ebuild +++ b/dev-libs/ktextaddons/ktextaddons-9999.ebuild @@ -42,12 +42,11 @@ RDEPEND="${DEPEND} !${CATEGORY}/${PN}:5 " -# TODO: unpackaged vosk, kaldi (bugs #919236, 919234) -PATCHES=( "${FILESDIR}/${P}-no-textspeechtotext.patch" ) - src_configure() { local mycmakeargs=( $(cmake_use_find_package speech Qt6TextToSpeech) + # TODO: unpackaged vosk, kaldi (bugs #919236, 919234) + -DSPEAK_TO_TEXT_VOSK_PLUGIN=OFF ) ecm_src_configure } -- cgit v1.2.3