[Lunar-commits] <moonbase> flite: use ALSA instead of OSS
Auke Kok
sofar at foo-projects.org
Mon Aug 10 08:02:38 CEST 2009
commit 57a9c74ae9b8bdb95a4c9e0c341ebb825aadb1f4
Author: Paul Bredbury <brebs at sent.com>
Date: Mon Aug 10 08:02:38 2009 +0200
flite: use ALSA instead of OSS
Adds ALSA patch. Fixes download URL.
---
zbeta/flite/BUILD | 7 +++++++
zbeta/flite/DETAILS | 14 ++++++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/zbeta/flite/BUILD b/zbeta/flite/BUILD
index 4e61c43..e4b88d5 100644
--- a/zbeta/flite/BUILD
+++ b/zbeta/flite/BUILD
@@ -1,6 +1,13 @@
(
+ # Sets ALSA as default, instead of OSS
+ patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+
sed -i "s/@ \$(MAKE) -C lib --no-print-directory install//" Makefile &&
+
+ # Needed for compilation, with ALSA patch
+ OPTS+=" --with-vox=cmu_us_kal16" &&
+
default_build
) > $C_FIFO 2>&1
diff --git a/zbeta/flite/DETAILS b/zbeta/flite/DETAILS
index e7093b3..df17122 100644
--- a/zbeta/flite/DETAILS
+++ b/zbeta/flite/DETAILS
@@ -1,14 +1,20 @@
MODULE=flite
VERSION=1.3-release
- SOURCE=${MODULE}-${VERSION}.tar.gz
- SOURCE_URL=http://fife.speech.cs.cmu.edu/flite/packed/flite-1.3/
+ SOURCE=$MODULE-$VERSION.tar.gz
+ # Patch from http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/flite/files/
+ SOURCE2=flite-1.3-alsa-support.patch.bz2
+ SOURCE_URL=http://speech.cs.cmu.edu/flite/packed/flite-1.3
+ SOURCE2_URL=$PATCH_URL
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
SOURCE_VFY=sha1:233144a772de72741ae1aa2292f672c30224afb3
+ SOURCE2_VFY=sha1:ca5cf9e9249bbc93f83063336cfe074e774a703a
WEB_SITE="http://cmuflite.org/"
ENTERED=20071111
- UPDATED=20071111
+ UPDATED=20090809
SHORT="small, fast run-time synthesis engine"
-cat <<EOF
+ PSAFE=no
+
+cat << EOF
Flite (festival-lite) is a small, fast run-time synthesis engine
developed at CMU and primarily designed for small embedded machines
and/or large servers. Flite is designed as an alternative synthesis
More information about the Lunar-commits
mailing list