From a5869b47aa0abac068f9d314d03e9f04df7e80a9 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 23 Jan 2014 19:15:59 +0000 Subject: speech-dispatcher: initial inclusion. dep of google-chrome --- abs/extra/speech-dispatcher/PKGBUILD | 61 ++++++++++++++++++++++ abs/extra/speech-dispatcher/__changelog | 1 + .../speech-dispatcher/speech-dispatcher.install | 22 ++++++++ .../speech-dispatcher/speech-dispatcherd.service | 10 ++++ 4 files changed, 94 insertions(+) create mode 100644 abs/extra/speech-dispatcher/PKGBUILD create mode 100644 abs/extra/speech-dispatcher/__changelog create mode 100644 abs/extra/speech-dispatcher/speech-dispatcher.install create mode 100644 abs/extra/speech-dispatcher/speech-dispatcherd.service diff --git a/abs/extra/speech-dispatcher/PKGBUILD b/abs/extra/speech-dispatcher/PKGBUILD new file mode 100644 index 0000000..4c26348 --- /dev/null +++ b/abs/extra/speech-dispatcher/PKGBUILD @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: +# Contributor: Andrea Scarpino +# Contributor: Steve Holmes +# Contributor: Alexander Jenisch +# Contributor: Chris Brannon +# Contributor: Andreas Messer + +pkgname=speech-dispatcher +pkgver=0.8 +pkgrel=1 +arch=('i686' 'x86_64') +pkgdesc="High-level device independent layer for speech synthesis interface" +url="http://www.freebsoft.org/speechd" +license=('GPL2' 'FDL') +depends=('glib2' 'libltdl' 'python-xdg' 'dotconf') +makedepends=('intltool') +optdepends=('festival: Speech output using Festival' + 'espeak: Speech output using ESpeak' + 'pulseaudio: PulseAudio support') +provides=("speechd=${pkgver}") +options=('!libtool') +backup=(etc/speech-dispatcher/clients/gnome-speech.conf + etc/speech-dispatcher/clients/emacs.conf + etc/speech-dispatcher/modules/ibmtts.conf + etc/speech-dispatcher/modules/espeak-generic.conf + etc/speech-dispatcher/modules/espeak.conf + etc/speech-dispatcher/modules/swift-generic.conf + etc/speech-dispatcher/modules/festival.conf + etc/speech-dispatcher/modules/cicero.conf + etc/speech-dispatcher/modules/espeak-mbrola-generic.conf + etc/speech-dispatcher/modules/dtk-generic.conf + etc/speech-dispatcher/modules/llia_phon-generic.conf + etc/speech-dispatcher/modules/ivona.conf + etc/speech-dispatcher/modules/epos-generic.conf + etc/speech-dispatcher/modules/flite.conf + etc/speech-dispatcher/speechd.conf) +install="${pkgname}.install" +source=("http://www.freebsoft.org/pub/projects/speechd/$pkgname-$pkgver.tar.gz" + 'speech-dispatcherd.service') +md5sums=('d88691a64c676122f996230c107c392f' + 'd26f52e2e95a30eaa83560f0e63faca5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --without-flite \ + --without-espeak \ + --without-pulse + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 "${srcdir}"/speech-dispatcherd.service "${pkgdir}/usr/lib/systemd/system/speech-dispatcherd.service" + install -d "${pkgdir}/var/log/speech-dispatcher" +} diff --git a/abs/extra/speech-dispatcher/__changelog b/abs/extra/speech-dispatcher/__changelog new file mode 100644 index 0000000..15dba69 --- /dev/null +++ b/abs/extra/speech-dispatcher/__changelog @@ -0,0 +1 @@ +remove libpulse and espeak diff --git a/abs/extra/speech-dispatcher/speech-dispatcher.install b/abs/extra/speech-dispatcher/speech-dispatcher.install new file mode 100644 index 0000000..1565d3a --- /dev/null +++ b/abs/extra/speech-dispatcher/speech-dispatcher.install @@ -0,0 +1,22 @@ +info_dir=usr/share/info +info_files=('speech-dispatcher.info' + 'ssip.info' + 'spd-say.info') + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} diff --git a/abs/extra/speech-dispatcher/speech-dispatcherd.service b/abs/extra/speech-dispatcher/speech-dispatcherd.service new file mode 100644 index 0000000..ce21c56 --- /dev/null +++ b/abs/extra/speech-dispatcher/speech-dispatcherd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Speech-Dispatcher an high-level device independent layer for speech synthesis. +After=syslog.target + +[Service] +Type=forking +ExecStart=/usr/bin/speech-dispatcher -d + +[Install] +WantedBy=multi-user.target -- cgit v0.12