[arch-commits] Commit in speech-dispatcher/repos (8 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Sep 19 21:11:58 UTC 2015
Date: Saturday, September 19, 2015 @ 23:11:57
Author: svenstaro
Revision: 246706
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
speech-dispatcher/repos/staging-i686/
speech-dispatcher/repos/staging-i686/PKGBUILD
(from rev 246705, speech-dispatcher/trunk/PKGBUILD)
speech-dispatcher/repos/staging-i686/speech-dispatcher.install
(from rev 246705, speech-dispatcher/trunk/speech-dispatcher.install)
speech-dispatcher/repos/staging-i686/speech-dispatcherd.service
(from rev 246705, speech-dispatcher/trunk/speech-dispatcherd.service)
speech-dispatcher/repos/staging-x86_64/
speech-dispatcher/repos/staging-x86_64/PKGBUILD
(from rev 246705, speech-dispatcher/trunk/PKGBUILD)
speech-dispatcher/repos/staging-x86_64/speech-dispatcher.install
(from rev 246705, speech-dispatcher/trunk/speech-dispatcher.install)
speech-dispatcher/repos/staging-x86_64/speech-dispatcherd.service
(from rev 246705, speech-dispatcher/trunk/speech-dispatcherd.service)
-------------------------------------------+
staging-i686/PKGBUILD | 60 ++++++++++++++++++++++++++++
staging-i686/speech-dispatcher.install | 22 ++++++++++
staging-i686/speech-dispatcherd.service | 10 ++++
staging-x86_64/PKGBUILD | 60 ++++++++++++++++++++++++++++
staging-x86_64/speech-dispatcher.install | 22 ++++++++++
staging-x86_64/speech-dispatcherd.service | 10 ++++
6 files changed, 184 insertions(+)
Copied: speech-dispatcher/repos/staging-i686/PKGBUILD (from rev 246705, speech-dispatcher/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-19 21:11:57 UTC (rev 246706)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=speech-dispatcher
+pkgver=0.8.3
+pkgrel=6
+arch=('i686' 'x86_64')
+pkgdesc="High-level device independent layer for speech synthesis interface"
+url="http://www.freebsoft.org/speechd"
+license=('GPL2' 'FDL')
+depends=('libltdl' 'python-xdg' 'dotconf' 'libpulse')
+makedepends=('intltool' 'espeak')
+optdepends=('festival: Speech output using Festival'
+ 'espeak: Speech output using ESpeak'
+ 'pulseaudio: PulseAudio support')
+backup=(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/modules/pico-generic.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=('d17b041fa3c87cb1b73ac6e95b80d276'
+ 'd26f52e2e95a30eaa83560f0e63faca5')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # Disabled due to bug: https://bugs.archlinux.org/task/35700
+ sed -i "s/cicero //g" configure.ac
+ sed -i "s/sd_cicero//g" src/modules/Makefile.am
+
+ autoreconf -i
+ ./configure --prefix=/usr \
+ --enable-shared \
+ --sysconfdir=/etc \
+ --without-flite
+ make
+}
+
+package() {
+ cd ${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"
+
+ sed -i 's|includedir=.*|includedir=${prefix}/include/speech-dispatcher|g' "${pkgdir}/usr/lib/pkgconfig/speech-dispatcher.pc"
+}
Copied: speech-dispatcher/repos/staging-i686/speech-dispatcher.install (from rev 246705, speech-dispatcher/trunk/speech-dispatcher.install)
===================================================================
--- staging-i686/speech-dispatcher.install (rev 0)
+++ staging-i686/speech-dispatcher.install 2015-09-19 21:11:57 UTC (rev 246706)
@@ -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
+}
Copied: speech-dispatcher/repos/staging-i686/speech-dispatcherd.service (from rev 246705, speech-dispatcher/trunk/speech-dispatcherd.service)
===================================================================
--- staging-i686/speech-dispatcherd.service (rev 0)
+++ staging-i686/speech-dispatcherd.service 2015-09-19 21:11:57 UTC (rev 246706)
@@ -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
Copied: speech-dispatcher/repos/staging-x86_64/PKGBUILD (from rev 246705, speech-dispatcher/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-19 21:11:57 UTC (rev 246706)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=speech-dispatcher
+pkgver=0.8.3
+pkgrel=6
+arch=('i686' 'x86_64')
+pkgdesc="High-level device independent layer for speech synthesis interface"
+url="http://www.freebsoft.org/speechd"
+license=('GPL2' 'FDL')
+depends=('libltdl' 'python-xdg' 'dotconf' 'libpulse')
+makedepends=('intltool' 'espeak')
+optdepends=('festival: Speech output using Festival'
+ 'espeak: Speech output using ESpeak'
+ 'pulseaudio: PulseAudio support')
+backup=(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/modules/pico-generic.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=('d17b041fa3c87cb1b73ac6e95b80d276'
+ 'd26f52e2e95a30eaa83560f0e63faca5')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # Disabled due to bug: https://bugs.archlinux.org/task/35700
+ sed -i "s/cicero //g" configure.ac
+ sed -i "s/sd_cicero//g" src/modules/Makefile.am
+
+ autoreconf -i
+ ./configure --prefix=/usr \
+ --enable-shared \
+ --sysconfdir=/etc \
+ --without-flite
+ make
+}
+
+package() {
+ cd ${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"
+
+ sed -i 's|includedir=.*|includedir=${prefix}/include/speech-dispatcher|g' "${pkgdir}/usr/lib/pkgconfig/speech-dispatcher.pc"
+}
Copied: speech-dispatcher/repos/staging-x86_64/speech-dispatcher.install (from rev 246705, speech-dispatcher/trunk/speech-dispatcher.install)
===================================================================
--- staging-x86_64/speech-dispatcher.install (rev 0)
+++ staging-x86_64/speech-dispatcher.install 2015-09-19 21:11:57 UTC (rev 246706)
@@ -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
+}
Copied: speech-dispatcher/repos/staging-x86_64/speech-dispatcherd.service (from rev 246705, speech-dispatcher/trunk/speech-dispatcherd.service)
===================================================================
--- staging-x86_64/speech-dispatcherd.service (rev 0)
+++ staging-x86_64/speech-dispatcherd.service 2015-09-19 21:11:57 UTC (rev 246706)
@@ -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
More information about the arch-commits
mailing list