summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-02-16 20:56:15 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-02-16 20:56:15 +0000
commitc4c4b463a78ffde072112ecad59465c162396d9e (patch)
treedc6bdb204c83cca478c9f7127a9f6333ee928f12 /user
parentc97c0fc538c1be465a9617de222ca13dcb2fc12d (diff)
parent23e9687162daef256596c98016813ae151dd53e2 (diff)
downloadpackages-c4c4b463a78ffde072112ecad59465c162396d9e.tar.gz
packages-c4c4b463a78ffde072112ecad59465c162396d9e.tar.bz2
packages-c4c4b463a78ffde072112ecad59465c162396d9e.tar.xz
packages-c4c4b463a78ffde072112ecad59465c162396d9e.zip
Merge branch 'texttospeech' into 'master'
Package flite for Qt5TextToSpeech and KDE applications requiring it See merge request !165
Diffstat (limited to 'user')
-rw-r--r--user/flite/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/flite/APKBUILD b/user/flite/APKBUILD
new file mode 100644
index 000000000..5ae3ea67a
--- /dev/null
+++ b/user/flite/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=flite
+pkgver=2.1
+pkgrel=0
+pkgdesc="Small, fast text-to-speech synthesizer based on Festival"
+url="http://www.festvox.org/flite/"
+arch="all"
+options="!check" # testsuite refuses to cooperate
+license="MIT AND Apache-2.0 AND BSD-3-Clause AND Public-Domain AND BSD-2-Clause"
+depends=""
+makedepends="alsa-lib-dev"
+subpackages="$pkgname-dev"
+source="http://www.festvox.org/flite/packed/flite-$pkgver/flite-$pkgver-release.tar.bz2"
+builddir="$srcdir/flite-$pkgver-release"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e9ef9ca4b6920178634d94bbe6e21a8b0ec471b010b07e6cc961ed2d120acb944c8e1d268fe26188f7dfe43fb7bd4bdff7fa53b2d2f12029d37e08d0316620d2 flite-2.1-release.tar.bz2"