From c4ef890eaacfb719bf202e11e0b194c45607a332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Fri, 15 Jul 2022 15:49:51 +0200 Subject: [PATCH] Revert "accessibility/speech-dispatcher: remove option for expired espeak" Bump PORTREVISION and update dependency from espeak to espeak-ng. This reverts commit 700486da27010f172a916845e008ece3c5dde00d. --- accessibility/speech-dispatcher/Makefile | 9 +++++++-- accessibility/speech-dispatcher/pkg-plist | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/accessibility/speech-dispatcher/Makefile b/accessibility/speech-dispatcher/Makefile index afb7bfe52b1df..c248fa5deb798 100644 --- a/accessibility/speech-dispatcher/Makefile +++ b/accessibility/speech-dispatcher/Makefile @@ -1,5 +1,6 @@ PORTNAME= speech-dispatcher DISTVERSION= 0.11.1 +PORTREVISION= 1 CATEGORIES?= accessibility audio MASTER_SITES= https://github.com/brailcom/speechd/releases/download/${PORTVERSION}/ @@ -41,8 +42,8 @@ PORTDOCS= ANNOUNCE AUTHORS FAQ NEWS README TODO INFO= spd-say speech-dispatcher speech-dispatcher-cs ssip -OPTIONS_DEFINE= ALSA AO DOCS FESTIVAL FLITE NAS PULSEAUDIO VOXIN -OPTIONS_DEFAULT= PULSEAUDIO +OPTIONS_DEFINE= ALSA AO DOCS ESPEAK FESTIVAL FLITE NAS PULSEAUDIO VOXIN +OPTIONS_DEFAULT= ESPEAK PULSEAUDIO OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib @@ -51,6 +52,10 @@ ALSA_CONFIGURE_WITH= alsa AO_LIB_DEPENDS= libao.so:audio/libao AO_CONFIGURE_WITH= libao +ESPEAK_DESC= eSpeak speech synthesizer support +ESPEAK_LIB_DEPENDS= libespeak-ng.so:audio/espeak-ng +ESPEAK_CONFIGURE_WITH= espeak + FESTIVAL_DESC= Festival Speech Synthesis System support FESTIVAL_RUN_DEPENDS= ${LOCALBASE}/share/festival/lib/${PORTNAME}.scm:audio/festival-freebsoft-utils \ festival:audio/festival diff --git a/accessibility/speech-dispatcher/pkg-plist b/accessibility/speech-dispatcher/pkg-plist index 55f8cfe2179b3..641fd992871d2 100644 --- a/accessibility/speech-dispatcher/pkg-plist +++ b/accessibility/speech-dispatcher/pkg-plist @@ -38,6 +38,7 @@ lib/speech-dispatcher/spd_oss.so %%PULSEAUDIO%%lib/speech-dispatcher/spd_pulse.so libexec/speech-dispatcher-modules/sd_cicero libexec/speech-dispatcher-modules/sd_dummy +%%ESPEAK%%libexec/speech-dispatcher-modules/sd_espeak libexec/speech-dispatcher-modules/sd_festival %%FLITE%%libexec/speech-dispatcher-modules/sd_flite libexec/speech-dispatcher-modules/sd_generic @@ -337,10 +338,10 @@ share/sounds/speech-dispatcher/dummy-message.wav %%DATADIR%%/locale/tg/emojis.dic %%DATADIR%%/locale/tg/orca-chars.dic %%DATADIR%%/locale/tg/orca.dic -%%DATADIR%%/locale/ti/emojis.dic %%DATADIR%%/locale/th/emojis.dic %%DATADIR%%/locale/th/orca-chars.dic %%DATADIR%%/locale/th/orca.dic +%%DATADIR%%/locale/ti/emojis.dic %%DATADIR%%/locale/tk/emojis.dic %%DATADIR%%/locale/to/emojis.dic %%DATADIR%%/locale/tr/emojis.dic