Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=openjava.git;a=commitdiff;h=1a9d5bc153dc1e975b8473e0e10e6f7a96b86f8a
commit 1a9d5bc153dc1e975b8473e0e10e6f7a96b86f8a Author: James Buren <[email protected]> Date: Fri Jun 8 02:05:53 2012 -0500 speech-dispatcher-0.7.1-2-x86_64 * convert to use systemd schema diff --git a/source/xapps-extra/speech-dispatcher/FrugalBuild b/source/xapps-extra/speech-dispatcher/FrugalBuild index dd88e3c..0ca9d8d 100644 --- a/source/xapps-extra/speech-dispatcher/FrugalBuild +++ b/source/xapps-extra/speech-dispatcher/FrugalBuild @@ -3,14 +3,14 @@ pkgname=speech-dispatcher pkgver=0.7.1 -pkgrel=1 +pkgrel=2 pkgdesc="speech-dispatcher speech synthesis interface" url="http://www.freebsoft.org/speechd" -depends=('dotconf' 'nas' 'alsa-lib') +depends=('dotconf' 'alsa-lib') groups=('xapps-extra') archs=('i686' 'x86_64') up2date="Flasttar http://www.freebsoft.org/pub/projects/speechd/" -source=(http://www.freebsoft.org/pub/projects/speechd/$pkgname-$pkgver.tar.gz rc.speechd) +source=(http://www.freebsoft.org/pub/projects/speechd/$pkgname-$pkgver.tar.gz rc.speechd speechd.service) subpkgs=("${subpkgs[@]}" "python-speech-dispatcher") subdescs=("${subdescs[@]}" "python bindings for speech") @@ -21,9 +21,14 @@ subarchs=("${subarchs[@]}" 'i686 x86_64') Finclude python sha1sums=('be911de1ef334fa1708a7489f9dde51b499ab265' \ - '7373cfad8d4c7f8ce2ce244bbb05bd1a70b5777a') + '7373cfad8d4c7f8ce2ce244bbb05bd1a70b5777a' \ + '74e9251a572fb8378137422be89126de84370890') backup=(etc/speech-dispatcher/speechd.conf) +_F_sysvinit_units=(speechd) +_F_systemd_units=(speechd=) +Finclude systemd + build() { Fcd Fsed "--prefix=" "--prefix=$Fdestdir" src/python/Makefile.in @@ -32,6 +37,8 @@ build() { # python bindings Fsplit python-speech-dispatcher $_F_python_libdir Frcd2 speechd + Ffile /lib/systemd/system/speechd.service + Fgenscriptlet } # optimization OK diff --git a/source/xapps-extra/speech-dispatcher/speechd.service b/source/xapps-extra/speech-dispatcher/speechd.service new file mode 100644 index 0000000..dc88711 --- /dev/null +++ b/source/xapps-extra/speech-dispatcher/speechd.service @@ -0,0 +1,11 @@ +[Unit] +Description=speechd +After=syslog.target + +[Service] +ExecStart=/usr/bin/speech-dispatcher -d -P /var/run/speechd.pid +PIDFile=/var/run/speechd.pid +Type=forking + +[Install] +WantedBy=multi-user.target _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
