diff options
Diffstat (limited to 'extra/festival/PKGBUILD')
-rw-r--r-- | extra/festival/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/festival/PKGBUILD b/extra/festival/PKGBUILD index 1124eb914..a663b3353 100644 --- a/extra/festival/PKGBUILD +++ b/extra/festival/PKGBUILD @@ -6,9 +6,9 @@ pkgname=festival pkgver=2.1 _suffix=release -pkgrel=3 +pkgrel=3.1 pkgdesc="A general multi-lingual speech synthesis system" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url="http://www.cstr.ed.ac.uk/projects/festival/" license=('BSD' 'GPL' 'custom') depends=('perl') @@ -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,16 +29,19 @@ 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 + ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" # Build Festival itself @@ -47,7 +51,7 @@ build() { # Avoid make failure on making scripts and docs sed -i "s#examples bin doc#examples#" Makefile - ./configure --prefix=/usr --sysconfdir=/etc + ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" } |