summaryrefslogtreecommitdiff
path: root/extra/festival/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/festival/PKGBUILD')
-rw-r--r--extra/festival/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/festival/PKGBUILD b/extra/festival/PKGBUILD
index a05c8574a..a663b3353 100644
--- a/extra/festival/PKGBUILD
+++ b/extra/festival/PKGBUILD
@@ -20,7 +20,8 @@ source=("http://www.cstr.ed.ac.uk/downloads/${pkgname}/${pkgver}/${pkgname}-${pk
"http://www.cstr.ed.ac.uk/downloads/${pkgname}/${pkgver}/festlex_POSLEX.tar.gz"
'speechconfig.patch'
'festconfig.patch'
- 'festival-shared-build.patch')
+ 'festival-shared-build.patch'
+ 'speech_tools-2.1-build.patch')
md5sums=('c93eb3e389ed171ab9abd46afe8897a8'
'6920ddc75b042910a3bcfee3ab106938'
'6a2ee4fed7c3ebedf197a3b8524ccb87'
@@ -28,14 +29,17 @@ md5sums=('c93eb3e389ed171ab9abd46afe8897a8'
'aa80f9250065b318325f16fdad3a4484'
'c30ae990baca40c9c2b1d5cd27502139'
'348cc033430aee7989463198818ae74c'
- '46132b1cd86a982007312def49ab176a')
+ '46132b1cd86a982007312def49ab176a'
+ '347c9433a3879c0f12e1cd6befbd92ff')
build() {
cd "$srcdir"
patch -Np0 -i "$srcdir/festival-shared-build.patch"
+ patch -Np0 -i ${srcdir}/speech_tools-2.1-build.patch
# Build Speech Tools first
cd "$srcdir/speech_tools"
+ sed -i 's/ -fno-shared-data//g' config/compilers/gcc_defaults.mak
patch -Np1 -i "$srcdir/speechconfig.patch"
./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST
make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}"