From 39ba54a7ab3c95b7ebe57ca6193d903f579c9c4f Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 24 Dec 2020 16:56:26 +0300 Subject: [PATCH] speech-dispatcher rebuild --- .../sound/speech-dispatcher/speech-dispatcher/actions.py | 3 +++ multimedia/sound/speech-dispatcher/speech-dispatcher/pspec.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/multimedia/sound/speech-dispatcher/speech-dispatcher/actions.py b/multimedia/sound/speech-dispatcher/speech-dispatcher/actions.py index 1f546026a7..fd9a9f7c36 100644 --- a/multimedia/sound/speech-dispatcher/speech-dispatcher/actions.py +++ b/multimedia/sound/speech-dispatcher/speech-dispatcher/actions.py @@ -24,6 +24,7 @@ def setup(): --with-ibmtts=no \ --with-baratinoo=no \ --with-kali=no \ + --with-voxin=no \ --with-default-audio-method=alsa") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") @@ -44,5 +45,7 @@ def install(): # Create log directory, it should be world unreadable pisitools.dodir("/var/log/speech-dispatcher") shelltools.chmod("%s/var/log/speech-dispatcher" % get.installDIR(), 0700) + + shelltools.system("""sed -e 's/# AudioOutputMethod "pulse"/AudioOutputMethod "pulse,alsa"/' -i %s/etc/speech-dispatcher/speechd.conf""" % get.installDIR()) pisitools.dodoc("AUTHORS", "COPYING*", "README*") diff --git a/multimedia/sound/speech-dispatcher/speech-dispatcher/pspec.xml b/multimedia/sound/speech-dispatcher/speech-dispatcher/pspec.xml index ac5bb76d2b..b99c65a6fa 100644 --- a/multimedia/sound/speech-dispatcher/speech-dispatcher/pspec.xml +++ b/multimedia/sound/speech-dispatcher/speech-dispatcher/pspec.xml @@ -61,7 +61,7 @@ /usr/share/speech-dispatcher - speech-dispatcherd.service +