48 lines
1.5 KiB
Bash
48 lines
1.5 KiB
Bash
# Template file for 'speech-dispatcher'
|
|
pkgname=speech-dispatcher
|
|
version=0.11.5
|
|
revision=1
|
|
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=cc4b388fce40681eaff3545e9cc0642216c13c420d5676a4d28c957ddcb916de
|
|
|
|
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
|
|
}
|
|
}
|