summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/speech-dispatcher/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/speech-dispatcher/APKBUILD b/user/speech-dispatcher/APKBUILD
new file mode 100644
index 000000000..b35da35bd
--- /dev/null
+++ b/user/speech-dispatcher/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=speech-dispatcher
+pkgver=0.8.8
+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"
+makedepends="alsa-lib-dev dotconf-dev flite-dev glib-dev intltool
+ libsndfile-dev pulseaudio-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://freebsoft.org/pub/projects/speechd/speech-dispatcher-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ LIBS="-lasound" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="7c7b9bf9b9ce541e790b5ae396cb614616c6b3883e75c0258603e91bf679850e3d63a6251daa3a1819b30d7518e3f552c83fe87b006274ffe1aa0f7e19c0b99b speech-dispatcher-0.8.8.tar.gz"