# Template build file for 'speech-dispatcher'.
pkgname=speech-dispatcher
version=0.8.3
revision=1
build_style=gnu-configure
configure_args="--disable-static"
short_desc="High-level device independent layer for speech synthesis interface"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL2/FDL"
homepage="http://devel.freebsoft.org/speechd"
distfiles="http://devel.freebsoft.org/pub/projects/speechd/${pkgname}-${version}.tar.gz"
checksum=96a293b2ba1e2498f1280c75a9607891a9990947a8d87e9855c2a642c93f1e4f

hostmakedepends="pkg-config intltool"
makedepends="libltdl-devel glib-devel dotconf-devel libsndfile-devel"
conf_files="
	/etc/speech-dispatcher/speechd.conf
	/etc/speech-dispatcher/clients/emacs.conf
	/etc/speech-dispatcher/modules/ibmtts.conf
	/etc/speech-dispatcher/modules/espeak-mbrola-generic.conf
	/etc/speech-dispatcher/modules/ivona.conf
	/etc/speech-dispatcher/modules/festival.conf
	/etc/speech-dispatcher/modules/swift-generic.conf
	/etc/speech-dispatcher/modules/espeak-generic.conf
	/etc/speech-dispatcher/modules/flite.conf
	/etc/speech-dispatcher/modules/llia_phon-generic.conf
	/etc/speech-dispatcher/modules/dtk-generic.conf
	/etc/speech-dispatcher/modules/epos-generic.conf
	/etc/speech-dispatcher/modules/espeak.conf
	/etc/speech-dispatcher/modules/cicero.conf"

speech-dispatcher-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
	}
}
