aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2024-03-17 10:52:40 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-03-20 12:57:12 +0100
commit8557e52864425f96e1e45d636d2fc2f07db143a2 (patch)
treea491713b721607207ce551d026bbf54fcf288d32 /dev-libs
parentkde-apps/kde-dev-utils: Still needs dev-qt/qttools:6[designer] after all (diff)
downloadkde-8557e52864425f96e1e45d636d2fc2f07db143a2.tar.gz
kde-8557e52864425f96e1e45d636d2fc2f07db143a2.tar.bz2
kde-8557e52864425f96e1e45d636d2fc2f07db143a2.zip
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 <parona@protonmail.com> Closes: https://github.com/gentoo/kde/pull/983 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ktextaddons/files/ktextaddons-9999-no-textspeechtotext.patch16
-rw-r--r--dev-libs/ktextaddons/ktextaddons-9999.ebuild5
2 files changed, 2 insertions, 19 deletions
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 bcc7cbdc8a..0000000000
--- 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 6242a3cbfb..b3cf3493b8 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
}