[arch-commits] Commit in speech-dispatcher/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 04:10:03 UTC 2019
Date: Saturday, October 26, 2019 @ 04:10:02
Author: felixonmars
Revision: 365757
archrelease: copy trunk to staging-x86_64
Added:
speech-dispatcher/repos/staging-x86_64/
speech-dispatcher/repos/staging-x86_64/PKGBUILD
(from rev 365756, speech-dispatcher/trunk/PKGBUILD)
speech-dispatcher/repos/staging-x86_64/speech-dispatcherd.service
(from rev 365756, speech-dispatcher/trunk/speech-dispatcherd.service)
----------------------------+
PKGBUILD | 72 +++++++++++++++++++++++++++++++++++++++++++
speech-dispatcherd.service | 10 +++++
2 files changed, 82 insertions(+)
Copied: speech-dispatcher/repos/staging-x86_64/PKGBUILD (from rev 365756, speech-dispatcher/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-26 04:10:02 UTC (rev 365757)
@@ -0,0 +1,72 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgbase=speech-dispatcher
+pkgname=(speech-dispatcher libspeechd)
+pkgver=0.9.1
+pkgrel=2
+arch=('x86_64')
+pkgdesc="High-level device independent layer for speech synthesis interface"
+url="http://www.freebsoft.org/speechd"
+license=('GPL2' 'FDL')
+makedepends=('intltool' 'espeak-ng' 'libltdl' 'python-xdg' 'dotconf' 'libpulse' 'libao')
+source=("https://github.com/brailcom/speechd/releases/download/${pkgver}/speech-dispatcher-${pkgver}.tar.gz"
+ 'speech-dispatcherd.service')
+sha512sums=('35adb353d22b8dff8884cb20f3836f96f4f74b272bbd442d522a10a3d3b91a0da6705e6c216764f295208b5446c2077da620de2a81cafe5a0c4dd826e33753c2'
+ '73eb563003b03f4836b17af66335664050d1dc3bd8434be368cd09ff8933aa2adc4bd17c4ce5c1bbbd406a0b0880191426a679fa05eac0a30f4005eaeeb47340')
+
+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
+
+ ./configure --prefix=/usr \
+ --enable-shared \
+ --sysconfdir=/etc \
+ --without-flite
+ make
+}
+
+package_speech-dispatcher() {
+ depends=("libspeechd=$pkgver-$pkgrel" 'libltdl' 'python-xdg' 'dotconf' 'libpulse' 'libao')
+ optdepends=('festival: Speech output using Festival'
+ 'espeak-ng: Speech output using ESpeak-ng'
+ '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/espeak-ng.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/espeak-ng-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)
+
+ 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"
+
+ mkdir -p ${srcdir}/libspeechd/usr/lib
+ mv "${pkgdir}"/usr/include ${srcdir}/libspeechd/usr
+ mv "${pkgdir}"/usr/lib/libspeechd*so* ${srcdir}/libspeechd/usr/lib
+}
+
+package_libspeechd() {
+ mkdir -p "${pkgdir}"/usr/lib
+
+ mv ${srcdir}/libspeechd/usr/include "${pkgdir}"/usr
+ mv ${srcdir}/libspeechd/usr/lib/* "${pkgdir}"/usr/lib
+}
Copied: speech-dispatcher/repos/staging-x86_64/speech-dispatcherd.service (from rev 365756, speech-dispatcher/trunk/speech-dispatcherd.service)
===================================================================
--- staging-x86_64/speech-dispatcherd.service (rev 0)
+++ staging-x86_64/speech-dispatcherd.service 2019-10-26 04:10:02 UTC (rev 365757)
@@ -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