summaryrefslogblamecommitdiff
path: root/user/speech-dispatcher/APKBUILD
blob: b35da35bde60ac36e2b581fe243e374655c5e9a4 (plain) (tree)





































                                                                                                                                                                             
# 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"