blob: 6835f7ace728c959bb5a1b84e9ad43c83e7c81f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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"
|