void-packages/srcpkgs/speech-dispatcher/template

48 lines
1.5 KiB
Bash

# Template file for 'speech-dispatcher'
pkgname=speech-dispatcher
version=0.10.1
revision=3
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"
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=0c702d4acc4920818db3daa28ecf14004123b64514b4575c138874618835104c
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
}
}