summaryrefslogtreecommitdiff
path: root/packages/flite/flite-alsa_1.3.bb
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-01-06 10:54:39 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-01-06 10:54:39 +0000
commit0ddc3ff982af0e139569a552f0380b0f026aae34 (patch)
treeeab49906ae314b70990b2658f4d198d27b2d96b7 /packages/flite/flite-alsa_1.3.bb
parentbbcffeebb0e4b33f0a20fa73699fdd21c98391ce (diff)
flite: change default back to oss, native alsa support package named as flite-alsa
* flite does not include working ALSA support, there is a patch made by Lukas Loehrer [1]. * Problem 1, this patch is a one-way street to alsa only. oss can't be build with this patch. * Problem 2, flite becomes unmaintained, patch won't make upstream. Hence other applications * using flite shared library doesn't necessarily support flite with native ALSA. e.g. speech-dispatcher. * * revert flite packages: --with-audio=oss * add flite-alsa packages: --with-audio=ass * * flite-1.3-Makefile.patch is a patch by Francois Aucamp that makes it possible * to compile shared libraries of flite 1.3, this patch has already been included in flite-1.3 alsa patch. * * configure-with-audio.patch is a patch by Patrick Ohly which works for all versions except flite-alsa-1.2, * in which au_none.h was not seen by libflite * * fix-read-only-assignments.patch was an acknowledged patch by both the original OE flite maintainer * and Lukas Loehrer (i.e., flite-1.2 alsa patch contains this patch). However, Lukas Loehrer left this patch * out of his flite-1.3 alsa patch. Leading me to believe this was fixed internally elsewhere in the 1.3 release. * By the look of it, this seems has to be tested at runtime. * * [1] http://homepage.hispeed.ch/loehrer/flite_alsa.html
Diffstat (limited to 'packages/flite/flite-alsa_1.3.bb')
-rw-r--r--packages/flite/flite-alsa_1.3.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/flite/flite-alsa_1.3.bb b/packages/flite/flite-alsa_1.3.bb
new file mode 100644
index 0000000000..b80e70c2cf
--- /dev/null
+++ b/packages/flite/flite-alsa_1.3.bb
@@ -0,0 +1,11 @@
+require flite.inc
+
+PR = "r0"
+
+EXTRA_OECONF = "--with-audio=alsa --enable-shared"
+
+SRC_URI = "http://www.speech.cs.cmu.edu/flite/packed/flite-${PV}/flite-${PV}-release.tar.gz \
+# file://fix-read-only-assignments.patch;patch=1 \ # fixed elsewhere in 1.3 release?
+#source http://homepage.hispeed.ch/loehrer/downloads/flite-1.3-alsa_support-1.2.diff.bz2 \
+ file://flite-1.3-alsa_support-1.2.diff;patch=1 \
+ file://flite-alsa-1.3-configure-with-audio.patch;patch=1"