Saturday, September 12, 2020

Fix text-to-speech in Qt5, x11/qt5/qtspeech

The following diff fix text-to-speech again in all consumers. I think
for the very first time. You can simply test it with
x11/kde-applications/kmouth for example.

Tested in the hackroom, bluhm@ is my witness ;)

Feedback, OK?

Rafael

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/qt5/qtspeech/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile 13 Mar 2020 16:53:52 -0000 1.9
+++ Makefile 12 Sep 2020 20:58:00 -0000
@@ -2,15 +2,17 @@

QT5NAME = QtSpeech
COMMENT-main = Qt5 text-to-speech components
+REVISION-main = 0

MULTI_PACKAGES = -main -examples

SHARED_LIBS += Qt5TextToSpeech 1.0 # 5.9

-WANTLIB += ${COMPILER_LIBCXX} Qt5Core m
+WANTLIB += ${COMPILER_LIBCXX} Qt5Core glib-2.0 intl m speechd

BUILD_DEPENDS = x11/qt5/qtmultimedia>=${QT5_VERSION:R},<${QT5_NEXT_VERSION}
RUN_DEPENDS = x11/qt5/qtmultimedia>=${QT5_VERSION:R},<${QT5_NEXT_VERSION}
+LIB_DEPENDS = audio/speech-dispatcher

FLAVORS = debug

Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/x11/qt5/qtspeech/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST-main
--- pkg/PLIST-main 13 Mar 2020 16:53:52 -0000 1.3
+++ pkg/PLIST-main 12 Sep 2020 20:58:00 -0000
@@ -23,10 +23,12 @@ lib/pkgconfig/Qt5TextToSpeech.pc
lib/qt5/cmake/Qt5TextToSpeech/
lib/qt5/cmake/Qt5TextToSpeech/Qt5TextToSpeechConfig.cmake
lib/qt5/cmake/Qt5TextToSpeech/Qt5TextToSpeechConfigVersion.cmake
-lib/qt5/examples/
+lib/qt5/cmake/Qt5TextToSpeech/Qt5TextToSpeech_QTextToSpeechPluginSpeechd.cmake
lib/qt5/libQt5TextToSpeech.la
lib/qt5/libQt5TextToSpeech.prl
@lib lib/qt5/libQt5TextToSpeech.so.${LIBQt5TextToSpeech_VERSION}
lib/qt5/mkspecs/modules/qt_lib_texttospeech.pri
lib/qt5/mkspecs/modules/qt_lib_texttospeech_private.pri
lib/qt5/pkgconfig/Qt5TextToSpeech.pc
+lib/qt5/plugins/texttospeech/
+@so lib/qt5/plugins/texttospeech/libqtexttospeech_speechd.so

No comments:

Post a Comment