vp-build/srcpkgs/speech-dispatcher/template

49 lines
1.5 KiB
Bash

# Template file for 'speech-dispatcher'
pkgname=speech-dispatcher
version=0.10.2
revision=2
wrksrc="speechd-${version}"
build_style=gnu-configure
# Disable support for sundry non-free TTS systems (said support causes
# the pre-pkg step to fail on account of missing shlibs).
configure_args="--disable-static --without-kali --without-ibmtts --without-baratinoo
--without-voxin"
hostmakedepends="automake libtool gettext-devel
pkg-config intltool python3-devel texinfo"
makedepends="libltdl-devel glib-devel dotconf-devel
libsndfile-devel libespeak-ng-devel libao-devel python3-devel
libsonic-devel pulseaudio-devel"
depends="python3"
short_desc="High-level device independent layer for speech synthesis interface"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2-or-later"
homepage="http://devel.freebsoft.org/speechd"
distfiles="https://github.com/brailcom/speechd/archive/${version}.tar.gz"
checksum=056efb80186f2bfc3f6ef468ab9905ca2d652cc2180b13514b752a9d616a6930
conf_files="
/etc/speech-dispatcher/clients/*.conf
/etc/speech-dispatcher/modules/*.conf
/etc/speech-dispatcher/*.conf"
CFLAGS="-fcommon"
post_extract() {
[ -e ".tarball-version" ] || echo "${version}" >.tarball-version
[ -e ".version" ] || echo "${version}" >.version
}
pre_configure() {
autoreconf -fi
}
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
}
}