summaryrefslogblamecommitdiff
path: root/user/speech-dispatcher/APKBUILD
blob: 8c12dd18fb71c0c50cffc369698a25b0d0412c3f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                  
            








                                                                               
                                                                                                       

         






                                         


                                                             



            



                  


                                      
                                                                                                                                                                             
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=speech-dispatcher
pkgver=0.9.0
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://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="d72542531f58954e424d1cf956f6cb4fd42d585a1d4b955b13e8a426729a06407cf4085b2b4885eac110d36216c9a8403d37b401eca5c2398011786bdf041083  speech-dispatcher-0.9.0.tar.gz"