speech-dispatcher
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
shelltools.system("sed -i 's/cicero //g' configure.ac")
|
||||
shelltools.system("sed -i 's/sd_cicero//g' src/modules/Makefile.am")
|
||||
autotools.autoreconf("-i")
|
||||
autotools.configure("--disable-static \
|
||||
--without-ibmtts \
|
||||
--without-nas \
|
||||
--without-flite \
|
||||
--with-ivona \
|
||||
--with-alsa \
|
||||
--with-espeak \
|
||||
--with-libao \
|
||||
--with-pulse")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
# Conflicts with openTTS
|
||||
pisitools.remove("/usr/share/info/ssip.info")
|
||||
|
||||
# Set executable bit
|
||||
shelltools.chmod("%s/usr/lib/python3.4/site-packages/speechd/_test.py" % get.installDIR(), 0755)
|
||||
|
||||
# Create log directory, it should be world unreadable
|
||||
pisitools.dodir("/var/log/speech-dispatcher")
|
||||
shelltools.chmod("%s/var/log/speech-dispatcher" % get.installDIR(), 0700)
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README")
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>speech-dispatcher</Name>
|
||||
<Homepage>http://www.freebsoft.org/speechd</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<License>GPLv2</License>
|
||||
<IsA>service</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>speech dispatcher: common interface to speech synthesis</Summary>
|
||||
<Description>Speech Dispatcher is a device independent layer for speech synthesis that provides a common easy to use interface for both client applications (programs that want to speak) and for software synthesizers (programs actually able to convert text to speech).</Description>
|
||||
<Archive sha1sum="15d9c4aa0e87cc59ea08602d8ac6ef9da7867883" type="targz">http://www.freebsoft.org/pub/projects/speechd/speech-dispatcher-0.8.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libsndfile-devel</Dependency>
|
||||
<Dependency>dotconf-devel</Dependency>
|
||||
<Dependency>espeak-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>gettext-devel</Dependency>
|
||||
<Dependency>pkgconfig</Dependency>
|
||||
<Dependency>libtool-ltdl</Dependency>
|
||||
<Dependency>libao-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>speech-dispatcher</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libao</Dependency>
|
||||
<Dependency>espeak</Dependency>
|
||||
<Dependency>dotconf</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>libsndfile</Dependency>
|
||||
<Dependency>libtool-ltdl</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc/speech-dispatcher</Path>
|
||||
<Path fileType="data">/var/log/speech-dispatcher</Path>
|
||||
<Path fileType="data">/usr/share/speech-dispatcher</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python3-speech-dispatcher</Name>
|
||||
<Summary>Python3 bindings for speech-dispatcher</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">speech-dispatcher</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Replaces>
|
||||
<Package>python-speech-dispatcher</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3.*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>speech-dispatcher-devel</Name>
|
||||
<Summary>Development headers for speech-dispatcher</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">speech-dispatcher</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="header">/usr/lib/pkgconfig/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-01-25</Date>
|
||||
<Version>0.8.3</Version>
|
||||
<Comment>Edit and release bump</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-11-22</Date>
|
||||
<Version>0.8.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>speech-dispatcher</Name>
|
||||
<Summary xml:lang="tr">Konuşma sentezi ortak arayüzü</Summary>
|
||||
<Description xml:lang="tr">Speech Dispatcher, seslendirme yapılmak istenen veya konuşma sentezi yapan uygulamalar için ortak ve kolay kullanımlı bir arayüz sunan, cihaz-bağımsız bir katmandır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-speech-dispatcher</Name>
|
||||
<Summary xml:lang="tr">speech-dispatcher için Python bağlayıcıları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>speech-dispatcher-devel</Name>
|
||||
<Summary xml:lang="tr">speech-dispatcher için geliştirme başlıkları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user