* update flite to 2.2-1
This commit is contained in:
parent
8077f5853a
commit
0bc0c9c8ed
@ -1,30 +1,27 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Contributor: Steven Honeyman <stevenhoneyman at gmail com>
|
||||
|
||||
pkgname=flite
|
||||
pkgver=2.1
|
||||
pkgrel=2
|
||||
pkgver=2.2
|
||||
pkgrel=1
|
||||
pkgdesc="A lightweight speech synthesis engine"
|
||||
arch=( x86_64 powerpc64le powerpc )
|
||||
url="http://cmuflite.org"
|
||||
arch=(x86_64 powerpc64le powerpc)
|
||||
url="http://www.festvox.org/flite/"
|
||||
license=(custom)
|
||||
depends=(alsa-lib)
|
||||
makedepends=(chrpath)
|
||||
source=(http://festvox.org/flite/packed/flite-$pkgver/flite-$pkgver-release.tar.bz2 flite-ldflags.patch)
|
||||
sha256sums=('c73c3f6a2ea764977d6eaf0a287722d1e2066b4697088c552e342c790f3d2b85'
|
||||
'ff43e11241c9aea26483865c672c20421d12c688ae8b59b39471bafb52c1463e')
|
||||
source=(https://github.com/festvox/flite/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha256sums=('ab1555fe5adc3f99f1d4a1a0eb1596d329fd6d74f1464a0097c81f53c0cf9e5c')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver-release
|
||||
cd $pkgname-$pkgver
|
||||
sed '/^#VOXES.*$/d; s/+//g; s/cmu_indic_lex/&\nVOXES = cmu_us_kal16 cmu_us_slt/' config/android.lv >config/archlinux.lv
|
||||
sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' main/Makefile
|
||||
|
||||
# Fix linking (Gentoo)
|
||||
patch -p1 -i ../flite-ldflags.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver-release
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --enable-shared \
|
||||
--with-audio=alsa \
|
||||
--with-vox=cmu_us_kal16 \
|
||||
@ -33,7 +30,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver-release
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user