From nobody Mon Jan 30 12:24:02 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P56mf5Qz3z3cSLy; Mon, 30 Jan 2023 12:24:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P56mf4kZHz4FVT; Mon, 30 Jan 2023 12:24:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675081442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oTywDfH3md4N2fv7FbX5up33sCMMJb8f8TZLAnJSN0s=; b=OG5TU4bca9D+rzl4t5xe48yk9JmuiM4A/aGf4l9SXgkl8nZzRmibRTMNrYLX1K7aOuIUIg NBFUgu3XXOOhldjroAM2n5OYmwVw7Jm5/WWOvCfuYKsWG+vHIe9iocw7T3f5+K8nex2iR5 PZXm6TrAIYfSutRh9rZt+Y21mM0+bfcEf5u0off7iMopIti5B7ol3vbG09UreuyJAgyadh M0jvT2kZWGIbsXIyJjQMF+w92tNFuFDkOv3H9lpnfxUMhLDSiskT4RGXIj8O2E+JZMkctM c41MoVVbYQsOQI17U9n2Nb6mtcWr2jxIGi1wzdV/A/fVpAiLd/urmqqhRCUVRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675081442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oTywDfH3md4N2fv7FbX5up33sCMMJb8f8TZLAnJSN0s=; b=HjmIj629UXo2oBzoP3ToOMhHyIdm0WVGHd2Y/HtV9tTNda1aBEovodOISHH+EmWQXwK1yp 4EeGPAVcyaEZ/f582Aq1cN5Qldg370kDGp3vZR505IJO3+h1v9V2C6jkm9dEAE0hCpOeJO 1GnhwyVUivvrnbmjm1PPMA5IWUi1WcRk5/qD/5x5hWiuN0bAEVp7KY+/YFCSJqkNnQmT0L iW/K/LnDwOA+ppdHmoUdxjpBg3iQFpt1iu0F5DlB/I9GooenCWmRdE3DO8NWFpQtwEEyTL cSAPQAC4m/DXbYQk1upbEZRCCFLdcH90yaI4Cn/UYiHRGhqgPLU9f3ysDBGn4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675081442; a=rsa-sha256; cv=none; b=QUgH+vHcgoKor0+1Rk5p9XvLlbIUBpbE3W58MOR3ZlmjR815tJhtBuDoLIaDmxHnFFyDAO aLPLi2QZ6LiLVTqKr0fdSyYUGWvzGb6ytRdWDzHyu/Ci1K/M2zhotDq8wbWLSVehpZ12n0 BDoYcv18VjLFFQP0k0YZnNJDOms61Vo+238+Nz2/iBqTDspvSrMPw+RfOhmuJ8S1A3Eh7Z iu/dDzoLp+mp2uKueYaAW5o8YYn7t5gOOPooRpV/X750btlGWqDTZr8SLufXyeROr1y5JM mgIamTrdBPmNT8LyqeI8i/kt2mpdtaFls7JptQz55+Q4T5Fu/4Yj/ids/5twZA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P56mf3mplz17Rq; Mon, 30 Jan 2023 12:24:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30UCO2nV086338; Mon, 30 Jan 2023 12:24:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UCO2wt086337; Mon, 30 Jan 2023 12:24:02 GMT (envelope-from git) Date: Mon, 30 Jan 2023 12:24:02 GMT Message-Id: <202301301224.30UCO2wt086337@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: 939cc7c118a3 - main - accessibility/qt6-speech: new port - interface to speech synthesizers List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 939cc7c118a35b0fdd8f17720710e9dd1d92222e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=939cc7c118a35b0fdd8f17720710e9dd1d92222e commit 939cc7c118a35b0fdd8f17720710e9dd1d92222e Author: Tobias C. Berner AuthorDate: 2023-01-30 11:02:28 +0000 Commit: Tobias C. Berner CommitDate: 2023-01-30 12:19:52 +0000 accessibility/qt6-speech: new port - interface to speech synthesizers As with the Qt 5 version, Qt Speech provides application developers with a QObject subclass, QTextToSpeech, that provides an interface to the platform's speech synthesizer engine; and a value type QVoice that encapsulates voice characteristics. With those classes, applications can make themselves more accessible to users, and go beyond the screen-reader functionality of assistive technologies. Using non-visual channels to inform users about changes or events can be very useful in hands-free situations, such as turn-by-turn navigation systems. Content-focused applications like ebook readers could benefit from text-to-speech synthesis without depending on assistive technology. --- Mk/Uses/qt-dist.mk | 4 +-- accessibility/Makefile | 1 + accessibility/qt6-speech/Makefile | 34 +++++++++++++++++++ accessibility/qt6-speech/distinfo | 3 ++ accessibility/qt6-speech/pkg-descr | 9 +++++ accessibility/qt6-speech/pkg-plist | 69 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 118 insertions(+), 2 deletions(-) diff --git a/Mk/Uses/qt-dist.mk b/Mk/Uses/qt-dist.mk index e935ddf35bc5..d63794857ac3 100644 --- a/Mk/Uses/qt-dist.mk +++ b/Mk/Uses/qt-dist.mk @@ -23,10 +23,10 @@ qmake_ARGS?= # empty # Supported distribution arguments _COMMON_DISTS= 3d base charts datavis3d declarative imageformats multimedia \ networkauth quick3d quicktimeline remoteobjects scxml sensors \ - serialbus serialport svg tools translations virtualkeyboard \ + serialbus serialport speech svg tools translations virtualkeyboard \ wayland webchannel webengine websockets _QT5_DISTS= connectivity gamepad graphicaleffects location quickcontrols \ - quickcontrols2 script speech webglplugin webview \ + quickcontrols2 script webglplugin webview \ x11extras xmlpatterns _QT6_DISTS= 5compat doc languageserver lottie positioning shadertools diff --git a/accessibility/Makefile b/accessibility/Makefile index 8b13f074ca5a..97fd5150cc19 100644 --- a/accessibility/Makefile +++ b/accessibility/Makefile @@ -22,6 +22,7 @@ SUBDIR += py-atspi SUBDIR += py-speech-dispatcher SUBDIR += qt5-speech + SUBDIR += qt6-speech SUBDIR += redshift SUBDIR += rubygem-atk SUBDIR += sct diff --git a/accessibility/qt6-speech/Makefile b/accessibility/qt6-speech/Makefile new file mode 100644 index 000000000000..8b7b629f9a13 --- /dev/null +++ b/accessibility/qt6-speech/Makefile @@ -0,0 +1,34 @@ +PORTNAME= speech +PORTVERSION= ${QT6_VERSION} +CATEGORIES= accessibility +PKGNAMEPREFIX= qt6- + +MAINTAINER= kde@FreeBSD.org +COMMENT= Accessibilty features for Qt6 + +USES= cmake gl pkgconfig qt-dist:6 +USE_GL= gl opengl +USE_QT= base declarative + +OPTIONS_DEFINE= ALSA +OPTIONS_DEFAULT= SPEECHD +OPTIONS_GROUP= BACKEND +OPTIONS_GROUP_BACKEND= SPEECHD FLITE +OPTIONS_SUB= yes +FLITE_DESC= Festival Lite Backend +SPEECHD_DESC= Speech Dispatcher Backend + +ALSA_IMPLIES= FLITE +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ALSA + +FLITE_LIB_DEPENDS= libflite.so:audio/flite +FLITE_USE= QT=multimedia +FLITE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Flite + +SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher +SPEECHD_USES= gettext-runtime gnome +SPEECHD_USE= GNOME=glib20 +SPEECHD_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_SpechDispatcher + +.include diff --git a/accessibility/qt6-speech/distinfo b/accessibility/qt6-speech/distinfo new file mode 100644 index 000000000000..949fed3353ca --- /dev/null +++ b/accessibility/qt6-speech/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1675066902 +SHA256 (KDE/Qt/6.4.2/qtspeech-everywhere-src-6.4.2.tar.xz) = a9c99f8d34d6f500abf64c9aebdd41f01e746bcf54ff62ad006662400cb494cb +SIZE (KDE/Qt/6.4.2/qtspeech-everywhere-src-6.4.2.tar.xz) = 219388 diff --git a/accessibility/qt6-speech/pkg-descr b/accessibility/qt6-speech/pkg-descr new file mode 100644 index 000000000000..c5a261d28e71 --- /dev/null +++ b/accessibility/qt6-speech/pkg-descr @@ -0,0 +1,9 @@ +As with the Qt 5 version, Qt Speech provides application developers with a +QObject subclass, QTextToSpeech, that provides an interface to the platform's +speech synthesizer engine; and a value type QVoice that encapsulates voice +characteristics. With those classes, applications can make themselves more +accessible to users, and go beyond the screen-reader functionality of assistive +technologies. Using non-visual channels to inform users about changes or events +can be very useful in hands-free situations, such as turn-by-turn navigation +systems. Content-focused applications like ebook readers could benefit from +text-to-speech synthesis without depending on assistive technology. diff --git a/accessibility/qt6-speech/pkg-plist b/accessibility/qt6-speech/pkg-plist new file mode 100644 index 000000000000..2be937213217 --- /dev/null +++ b/accessibility/qt6-speech/pkg-plist @@ -0,0 +1,69 @@ +%%QT_INCDIR%%/QtTextToSpeech/%%FULLVER%%/QtTextToSpeech/private/qtexttospeech_p.h +%%QT_INCDIR%%/QtTextToSpeech/%%FULLVER%%/QtTextToSpeech/private/qtexttospeech_qmltypes_p.h +%%QT_INCDIR%%/QtTextToSpeech/%%FULLVER%%/QtTextToSpeech/private/qttexttospeech-config_p.h +%%QT_INCDIR%%/QtTextToSpeech/%%FULLVER%%/QtTextToSpeech/private/qvoice_p.h +%%QT_INCDIR%%/QtTextToSpeech/QTextToSpeech +%%QT_INCDIR%%/QtTextToSpeech/QTextToSpeechEngine +%%QT_INCDIR%%/QtTextToSpeech/QTextToSpeechPlugin +%%QT_INCDIR%%/QtTextToSpeech/QVoice +%%QT_INCDIR%%/QtTextToSpeech/QtTextToSpeech +%%QT_INCDIR%%/QtTextToSpeech/QtTextToSpeechDepends +%%QT_INCDIR%%/QtTextToSpeech/QtTextToSpeechVersion +%%QT_INCDIR%%/QtTextToSpeech/qtexttospeech.h +%%QT_INCDIR%%/QtTextToSpeech/qtexttospeech_global.h +%%QT_INCDIR%%/QtTextToSpeech/qtexttospeechengine.h +%%QT_INCDIR%%/QtTextToSpeech/qtexttospeechplugin.h +%%QT_INCDIR%%/QtTextToSpeech/qttexttospeech-config.h +%%QT_INCDIR%%/QtTextToSpeech/qttexttospeechversion.h +%%QT_INCDIR%%/QtTextToSpeech/qvoice.h +%%FLITE%%lib/cmake/Qt6/FindFlite.cmake +%%SPEECHD%%lib/cmake/Qt6/FindSpeechDispatcher.cmake +lib/cmake/Qt6BuildInternals/StandaloneTests/QtSpeechTestsConfig.cmake +lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlAdditionalTargetInfo.cmake +lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlConfig.cmake +lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlConfigVersion.cmake +lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlConfigVersionImpl.cmake +lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlTargets.cmake +%%FLITE%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginAdditionalTargetInfo.cmake +%%FLITE%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginConfig.cmake +%%FLITE%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginConfigVersion.cmake +%%FLITE%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginConfigVersionImpl.cmake +%%FLITE%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginTargets-%%CMAKE_BUILD_TYPE%%.cmake +%%FLITE%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginTargets.cmake +lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginAdditionalTargetInfo.cmake +lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginConfig.cmake +lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginConfigVersion.cmake +lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginConfigVersionImpl.cmake +lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginTargets.cmake +%%SPEECHD%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginAdditionalTargetInfo.cmake +%%SPEECHD%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginConfig.cmake +%%SPEECHD%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginConfigVersion.cmake +%%SPEECHD%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginConfigVersionImpl.cmake +%%SPEECHD%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginTargets-%%CMAKE_BUILD_TYPE%%.cmake +%%SPEECHD%%lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginTargets.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechAdditionalTargetInfo.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfig.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfigVersion.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfigVersionImpl.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechDependencies.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechPlugins.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechTargets.cmake +lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechVersionlessTargets.cmake +%%QT_LIBDIR%%/libQt6TextToSpeech.prl +%%QT_LIBDIR%%/libQt6TextToSpeech.so +%%QT_LIBDIR%%/libQt6TextToSpeech.so.6 +%%QT_LIBDIR%%/libQt6TextToSpeech.so.%%FULLVER%% +%%QT_LIBDIR%%/metatypes/qt6texttospeech_%%CMAKE_BUILD_TYPE%%_metatypes.json +%%QT_MKSPECDIR%%/modules/qt_lib_texttospeech.pri +%%QT_MKSPECDIR%%/modules/qt_lib_texttospeech_private.pri +%%FLITE%%%%QT_PLUGINDIR%%/texttospeech/libqtexttospeech_flite.so +%%QT_PLUGINDIR%%/texttospeech/libqtexttospeech_mock.so +%%SPEECHD%%%%QT_PLUGINDIR%%/texttospeech/libqtexttospeech_speechd.so +%%QT_QMLDIR%%/QtTextToSpeech/libtexttospeechqmlplugin.so +%%QT_QMLDIR%%/QtTextToSpeech/plugins.qmltypes +%%QT_QMLDIR%%/QtTextToSpeech/qmldir +libdata/pkgconfig/Qt6TextToSpeech.pc +%%QT_DATADIR%%/modules/TextToSpeech.json