* update flite to 2.2-2
This commit is contained in:
parent
013db68553
commit
48ca9cda42
15
flite/.SRCINFO
Normal file
15
flite/.SRCINFO
Normal file
@ -0,0 +1,15 @@
|
||||
pkgbase = flite
|
||||
pkgdesc = A lightweight speech synthesis engine
|
||||
pkgver = 2.2
|
||||
pkgrel = 2
|
||||
url = http://www.festvox.org/flite/
|
||||
arch = x86_64
|
||||
license = LicenseRef-Flite
|
||||
makedepends = chrpath
|
||||
makedepends = git
|
||||
depends = alsa-lib
|
||||
depends = glibc
|
||||
source = git+https://github.com/festvox/flite#tag=v2.2
|
||||
sha256sums = 2f7873f3de7bb6d6a8368684fd2bacf771260e666966a75535a4c8206424071b
|
||||
|
||||
pkgname = flite
|
5
flite/.nvchecker.toml
Normal file
5
flite/.nvchecker.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[flite]
|
||||
source = 'github'
|
||||
github = 'festvox/flite'
|
||||
use_max_tag = true
|
||||
prefix = 'v'
|
@ -4,35 +4,38 @@
|
||||
|
||||
pkgname=flite
|
||||
pkgver=2.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A lightweight speech synthesis engine"
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url="http://www.festvox.org/flite/"
|
||||
license=(custom)
|
||||
depends=(alsa-lib)
|
||||
makedepends=(chrpath)
|
||||
options=(!makeflags)
|
||||
source=(https://github.com/festvox/flite/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha256sums=('ab1555fe5adc3f99f1d4a1a0eb1596d329fd6d74f1464a0097c81f53c0cf9e5c')
|
||||
license=(LicenseRef-Flite)
|
||||
depends=(alsa-lib
|
||||
glibc)
|
||||
makedepends=(chrpath
|
||||
git)
|
||||
source=(git+https://github.com/festvox/flite#tag=v$pkgver)
|
||||
sha256sums=('2f7873f3de7bb6d6a8368684fd2bacf771260e666966a75535a4c8206424071b')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
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
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --enable-shared \
|
||||
--with-audio=alsa \
|
||||
--with-vox=cmu_us_kal16 \
|
||||
--with-langvox=archlinux \
|
||||
--build=${CHOST}
|
||||
make
|
||||
cd $pkgname
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=${CHOST} \
|
||||
--enable-shared \
|
||||
--with-audio=alsa \
|
||||
--with-vox=cmu_us_kal16 \
|
||||
--with-langvox=archlinux
|
||||
make -j1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user