diff options
author | nros <nros@pkgsrc.org> | 2022-11-28 13:44:14 +0000 |
---|---|---|
committer | nros <nros@pkgsrc.org> | 2022-11-28 13:44:14 +0000 |
commit | a4c8a484e978631fe8e6dd3a58574ca953a09d5f (patch) | |
tree | 7d6377064a2a941209fc0b387a014427ec10666a /audio | |
parent | e539ec4ab115480cee2c291018631fd23a19d07f (diff) | |
download | pkgsrc-a4c8a484e978631fe8e6dd3a58574ca953a09d5f.tar.gz |
Add qt6-qtspeech version 6.4.1 to pkgsrc-current
Qt6 module for text to speech capabilites
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 3 | ||||
-rw-r--r-- | audio/qt6-qtspeech/DESCR | 1 | ||||
-rw-r--r-- | audio/qt6-qtspeech/Makefile | 31 | ||||
-rw-r--r-- | audio/qt6-qtspeech/PLIST | 71 | ||||
-rw-r--r-- | audio/qt6-qtspeech/buildlink3.mk | 15 | ||||
-rw-r--r-- | audio/qt6-qtspeech/distinfo | 6 | ||||
-rw-r--r-- | audio/qt6-qtspeech/patches/patch-cmake_FindFlite.cmake | 19 |
7 files changed, 145 insertions, 1 deletions
diff --git a/audio/Makefile b/audio/Makefile index d01629b6aa0..7dde5eedfb8 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.661 2022/11/03 06:16:31 wiz Exp $ +# $NetBSD: Makefile,v 1.662 2022/11/28 13:44:14 nros Exp $ # COMMENT= Audio tools, players, and libraries @@ -422,6 +422,7 @@ SUBDIR+= py-soundfile SUBDIR+= qjackctl SUBDIR+= qmmp SUBDIR+= qsynth +SUBDIR+= qt6-qtspeech SUBDIR+= qtplay SUBDIR+= quodlibet SUBDIR+= rexima diff --git a/audio/qt6-qtspeech/DESCR b/audio/qt6-qtspeech/DESCR new file mode 100644 index 00000000000..9defea5856d --- /dev/null +++ b/audio/qt6-qtspeech/DESCR @@ -0,0 +1 @@ +Qt6 module for text to speech capabilites diff --git a/audio/qt6-qtspeech/Makefile b/audio/qt6-qtspeech/Makefile new file mode 100644 index 00000000000..0e99b1c3314 --- /dev/null +++ b/audio/qt6-qtspeech/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2022/11/28 13:44:14 nros Exp $ + +DISTNAME= qtspeech-everywhere-src-${QTVERSION} +PKGNAME= qt6-qtspeech-${QTVERSION} +COMMENT= Qt6 module for text to speech +CATEGORIES= audio +LICENSE= gnu-gpl-v3 + +.include "../../mk/bsd.prefs.mk" + +PLIST_VARS+= flite + +.if ${OPSYS} == "Linux" +CONFIGURE_ARGS+= -no-flite +.else +PLIST.flite= yes +CONFIGURE_ARGS+= -no-flite-alsa +.endif + +.include "../../x11/qt6-qtbase/Makefile.common" + +PKGCONFIG_OVERRIDE+= lib/pkgconfig/Qt6TextToSpeech.pc + +.if ${OPSYS} != "Linux" +.include "../../audio/flite/buildlink3.mk" +.endif +.include "../../audio/speech-dispatcher/buildlink3.mk" +.include "../../lang/qt6-qtdeclarative/buildlink3.mk" +.include "../../multimedia/qt6-qtmultimedia/buildlink3.mk" +.include "../../x11/qt6-qtbase/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/qt6-qtspeech/PLIST b/audio/qt6-qtspeech/PLIST new file mode 100644 index 00000000000..753dbe5bf87 --- /dev/null +++ b/audio/qt6-qtspeech/PLIST @@ -0,0 +1,71 @@ +@comment $NetBSD: PLIST,v 1.1 2022/11/28 13:44:14 nros Exp $ +lib/pkgconfig/Qt6TextToSpeech.pc +qt6/include/QtTextToSpeech/${PKGVERSION}/QtTextToSpeech/private/qtexttospeech_p.h +qt6/include/QtTextToSpeech/${PKGVERSION}/QtTextToSpeech/private/qtexttospeech_qmltypes_p.h +qt6/include/QtTextToSpeech/${PKGVERSION}/QtTextToSpeech/private/qttexttospeech-config_p.h +qt6/include/QtTextToSpeech/${PKGVERSION}/QtTextToSpeech/private/qvoice_p.h +qt6/include/QtTextToSpeech/QTextToSpeech +qt6/include/QtTextToSpeech/QTextToSpeechEngine +qt6/include/QtTextToSpeech/QTextToSpeechPlugin +qt6/include/QtTextToSpeech/QVoice +qt6/include/QtTextToSpeech/QtTextToSpeech +qt6/include/QtTextToSpeech/QtTextToSpeechDepends +qt6/include/QtTextToSpeech/QtTextToSpeechVersion +qt6/include/QtTextToSpeech/qtexttospeech.h +qt6/include/QtTextToSpeech/qtexttospeech_global.h +qt6/include/QtTextToSpeech/qtexttospeechengine.h +qt6/include/QtTextToSpeech/qtexttospeechplugin.h +qt6/include/QtTextToSpeech/qttexttospeech-config.h +qt6/include/QtTextToSpeech/qttexttospeechversion.h +qt6/include/QtTextToSpeech/qvoice.h +qt6/lib/cmake/Qt6/FindFlite.cmake +qt6/lib/cmake/Qt6/FindSpeechDispatcher.cmake +qt6/lib/cmake/Qt6BuildInternals/StandaloneTests/QtSpeechTestsConfig.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlConfig.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlConfigVersion.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlConfigVersionImpl.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlTargets-release.cmake +qt6/lib/cmake/Qt6Qml/QmlPlugins/Qt6TextToSpeechQmlTargets.cmake +${PLIST.flite}qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginAdditionalTargetInfo.cmake +${PLIST.flite}qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginConfig.cmake +${PLIST.flite}qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginConfigVersion.cmake +${PLIST.flite}qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginConfigVersionImpl.cmake +${PLIST.flite}qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginTargets-release.cmake +${PLIST.flite}qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechFlitePluginTargets.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginConfig.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginConfigVersion.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginConfigVersionImpl.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginTargets-release.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechMockPluginTargets.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginConfig.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginConfigVersion.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginConfigVersionImpl.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginTargets-release.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6QTextToSpeechSpeechdPluginTargets.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechAdditionalTargetInfo.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfig.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfigVersion.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechConfigVersionImpl.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechDependencies.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechPlugins.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechTargets-release.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechTargets.cmake +qt6/lib/cmake/Qt6TextToSpeech/Qt6TextToSpeechVersionlessTargets.cmake +qt6/lib/libQt6TextToSpeech.prl +qt6/lib/libQt6TextToSpeech.so +qt6/lib/libQt6TextToSpeech.so.6 +qt6/lib/libQt6TextToSpeech.so.${PKGVERSION} +qt6/lib/metatypes/qt6texttospeech_release_metatypes.json +qt6/lib/pkgconfig/Qt6TextToSpeech.pc +qt6/mkspecs/modules/qt_lib_texttospeech.pri +qt6/mkspecs/modules/qt_lib_texttospeech_private.pri +qt6/modules/TextToSpeech.json +${PLIST.flite}qt6/plugins/texttospeech/libqtexttospeech_flite.so +qt6/plugins/texttospeech/libqtexttospeech_mock.so +qt6/plugins/texttospeech/libqtexttospeech_speechd.so +qt6/qml/QtTextToSpeech/libtexttospeechqmlplugin.so +qt6/qml/QtTextToSpeech/plugins.qmltypes +qt6/qml/QtTextToSpeech/qmldir diff --git a/audio/qt6-qtspeech/buildlink3.mk b/audio/qt6-qtspeech/buildlink3.mk new file mode 100644 index 00000000000..84bd8b24673 --- /dev/null +++ b/audio/qt6-qtspeech/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2022/11/28 13:44:14 nros Exp $ + +BUILDLINK_TREE+= qt6-qtspeech + +.if !defined(QT6_QTSPEECH_BUILDLINK3_MK) +QT6_QTSPEECH_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.qt6-qtspeech+= qt6-qtspeech>=6.4.1 +BUILDLINK_PKGSRCDIR.qt6-qtspeech?= ../../audio/qt6-qtspeech + +.include "../../lang/qt6-qtdeclarative/buildlink3.mk" +.include "../../x11/qt6-qtbase/buildlink3.mk" +.endif # QT6_QTSPEECH_BUILDLINK3_MK + +BUILDLINK_TREE+= -qt6-qtspeech diff --git a/audio/qt6-qtspeech/distinfo b/audio/qt6-qtspeech/distinfo new file mode 100644 index 00000000000..b949dd1f4c6 --- /dev/null +++ b/audio/qt6-qtspeech/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2022/11/28 13:44:14 nros Exp $ + +BLAKE2s (qtspeech-everywhere-src-6.4.1.tar.xz) = 03b267a5be1a5e2a32f156f2a66b356e95f606226a44b07ecea9ffca3b03908a +SHA512 (qtspeech-everywhere-src-6.4.1.tar.xz) = 83c8612215690761c2b4150fc86e13fff547588c98a0f6d97f6ac9a7e2719f85f06c4739f0480f36a9df7805f945ee5e32007a5c52dc58c30632dc47cbd6a49f +Size (qtspeech-everywhere-src-6.4.1.tar.xz) = 219176 bytes +SHA1 (patch-cmake_FindFlite.cmake) = 871495c2082dcbd020a80bc30ebe12a41afd6350 diff --git a/audio/qt6-qtspeech/patches/patch-cmake_FindFlite.cmake b/audio/qt6-qtspeech/patches/patch-cmake_FindFlite.cmake new file mode 100644 index 00000000000..bf258bc9d39 --- /dev/null +++ b/audio/qt6-qtspeech/patches/patch-cmake_FindFlite.cmake @@ -0,0 +1,19 @@ +$NetBSD: patch-cmake_FindFlite.cmake,v 1.1 2022/11/28 13:44:14 nros Exp $ + +* pkgsrc flite does not use ALSA, + the test will fail if pkgsrc alsa is + installed and cmake finds it, this + causes the flite feature to not be + used in the package leading to PLIST + breakage etc. + +--- cmake/FindFlite.cmake.orig 2022-10-05 14:32:21.272294992 +0000 ++++ cmake/FindFlite.cmake +@@ -25,6 +25,7 @@ include(CheckCXXSourceCompiles) + # Flite can be built with ALSA support, + # in which case we need to link ALSA as well + find_package(ALSA QUIET) ++set(ALSA_FOUND 0) + + cmake_push_check_state(RESET) + |