# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=speech-dispatcher pkgver=0.9.1 pkgrel=0 pkgdesc="High-level interface to speech synthesis libraries" url="https://freebsoft.org/speechd" arch="all" license="LGPL-2.1-only AND (GPL-2.0+ AND LGPL-2.1+) AND LGPL-2.1+ AND GPL-2.0+" depends="flite" # ltdl makedepends="alsa-lib-dev dotconf-dev flite-dev glib-dev intltool libsndfile-dev libtool pulseaudio-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://github.com/brailcom/speechd/releases/download/$pkgver/speech-dispatcher-$pkgver.tar.gz" build() { LIBS="-lasound" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var # gettext-tiny :( cp src/api/python/speechd_config/speechd.desktop.in \ src/api/python/speechd_config/speechd.desktop make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="35adb353d22b8dff8884cb20f3836f96f4f74b272bbd442d522a10a3d3b91a0da6705e6c216764f295208b5446c2077da620de2a81cafe5a0c4dd826e33753c2 speech-dispatcher-0.9.1.tar.gz"