speech-dispatcher rebuild

This commit is contained in:
Rmys
2020-12-24 16:56:26 +03:00
committed by GitHub
parent 4142da5e0c
commit 39ba54a7ab
2 changed files with 4 additions and 1 deletions
@@ -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*")
@@ -61,7 +61,7 @@
<Path fileType="data">/usr/share/speech-dispatcher</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/systemd/system/speech-dispatcherd.service">speech-dispatcherd.service</AdditionalFile>
<!-- <AdditionalFile owner="root" permission="0644" target="/usr/lib/systemd/system/speech-dispatcherd.service">speech-dispatcherd.service</AdditionalFile> -->
</AdditionalFiles>
</Package>