# Template build file for 'speech-dispatcher'.
pkgname=speech-dispatcher
version=0.8.7
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="GPL-2, LGPL-2.1, GFDL-1.2"
homepage="http://devel.freebsoft.org/speechd"
distfiles="http://devel.freebsoft.org/pub/projects/speechd/${pkgname}-${version}.tar.gz"
checksum=200be1adb054dd14bfbc46e798ac6a7c0d4abaa13343fb987312c5265e4cb134
pycompile_module='speechd speechd_config'

hostmakedepends="pkg-config intltool python3-devel"
makedepends="libltdl-devel glib-devel dotconf-devel libsndfile-devel libespeak-devel libao-devel python3-devel"
depends="python3"
conf_files="
 /etc/speech-dispatcher/clients/*.conf
 /etc/speech-dispatcher/modules/*.conf
 /etc/speech-dispatcher/*.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
	}
}
