[packages/qt5-qtspeech] - fix files when building without Speech Dispatcher

hawk hawk at pld-linux.org
Sat Dec 7 16:04:15 CET 2024


commit 340b8b463001ac6b339bab510254697c2645b704
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sat Dec 7 15:25:33 2024 +0100

    - fix files when building without Speech Dispatcher

 qt5-qtspeech.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/qt5-qtspeech.spec b/qt5-qtspeech.spec
index 2c5fcc9..01cf0a8 100644
--- a/qt5-qtspeech.spec
+++ b/qt5-qtspeech.spec
@@ -226,10 +226,12 @@ rm -rf $RPM_BUILD_ROOT
 %{qt5dir}/mkspecs/modules/qt_lib_texttospeech.pri
 %{qt5dir}/mkspecs/modules/qt_lib_texttospeech_private.pri
 
+%if %{with speech_dispatcher}
 %files -n Qt5Speech-plugin-speechd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/qt5/plugins/texttospeech/libqtexttospeech_speechd.so
 %{_libdir}/cmake/Qt5TextToSpeech/Qt5TextToSpeech_QTextToSpeechPluginSpeechd.cmake
+%endif
 
 %if %{with flite}
 %files -n Qt5Speech-plugin-flite
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qt5-qtspeech.git/commitdiff/340b8b463001ac6b339bab510254697c2645b704



More information about the pld-cvs-commit mailing list