From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/sphinx-speech/pocketsphinx/cross-compile.patch | 11 +++++++++++ recipes/sphinx-speech/pocketsphinx_0.2.1.bb | 13 +++++++++++++ recipes/sphinx-speech/pocketsphinx_0.4.1.bb | 13 +++++++++++++ recipes/sphinx-speech/sphinx-fpu.inc | 6 ++++++ recipes/sphinx-speech/sphinxbase_0.1.bb | 14 ++++++++++++++ recipes/sphinx-speech/sphinxbase_0.3.bb | 14 ++++++++++++++ 6 files changed, 71 insertions(+) create mode 100644 recipes/sphinx-speech/pocketsphinx/cross-compile.patch create mode 100644 recipes/sphinx-speech/pocketsphinx_0.2.1.bb create mode 100644 recipes/sphinx-speech/pocketsphinx_0.4.1.bb create mode 100644 recipes/sphinx-speech/sphinx-fpu.inc create mode 100644 recipes/sphinx-speech/sphinxbase_0.1.bb create mode 100644 recipes/sphinx-speech/sphinxbase_0.3.bb (limited to 'recipes/sphinx-speech') diff --git a/recipes/sphinx-speech/pocketsphinx/cross-compile.patch b/recipes/sphinx-speech/pocketsphinx/cross-compile.patch new file mode 100644 index 0000000000..4392204657 --- /dev/null +++ b/recipes/sphinx-speech/pocketsphinx/cross-compile.patch @@ -0,0 +1,11 @@ +--- foo/configure.in.org 2006-08-05 15:42:56.000000000 +0000 ++++ foo/configure.in 2006-10-11 22:53:44.000000000 +0000 +@@ -59,7 +59,7 @@ + dnl FIXME: How do we find the installed headers robustly? + dnl + AC_CHECK_HEADER(sphinxbase/sphinx_config.h, +-CPPFLAGS="-I/usr/include/sphinxbase -I/usr/local/include/sphinxbase",[ ++CPPFLAGS="$CPPFLAGS",[ + if test x$sphinxbase = x; then + # Look for sphinxbase in the parent directory + for sb in ../sphinxbase*; do diff --git a/recipes/sphinx-speech/pocketsphinx_0.2.1.bb b/recipes/sphinx-speech/pocketsphinx_0.2.1.bb new file mode 100644 index 0000000000..813146ed86 --- /dev/null +++ b/recipes/sphinx-speech/pocketsphinx_0.2.1.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "CMU PocketSphinx - speech recognition engine for handhelds" +HOMEPAGE = "http://www.speech.cs.cmu.edu/pocketsphinx/" +LICENSE = "BSD" +DEPENDS = "sphinxbase" + +SRC_URI = "${SOURCEFORGE_MIRROR}/cmusphinx/${PN}-${PV}.tar.bz2 \ + file://cross-compile.patch;patch=1" + +inherit autotools + +do_configure () { + CPPFLAGS="-I${STAGING_INCDIR}/sphinxbase" oe_runconf +} diff --git a/recipes/sphinx-speech/pocketsphinx_0.4.1.bb b/recipes/sphinx-speech/pocketsphinx_0.4.1.bb new file mode 100644 index 0000000000..813146ed86 --- /dev/null +++ b/recipes/sphinx-speech/pocketsphinx_0.4.1.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "CMU PocketSphinx - speech recognition engine for handhelds" +HOMEPAGE = "http://www.speech.cs.cmu.edu/pocketsphinx/" +LICENSE = "BSD" +DEPENDS = "sphinxbase" + +SRC_URI = "${SOURCEFORGE_MIRROR}/cmusphinx/${PN}-${PV}.tar.bz2 \ + file://cross-compile.patch;patch=1" + +inherit autotools + +do_configure () { + CPPFLAGS="-I${STAGING_INCDIR}/sphinxbase" oe_runconf +} diff --git a/recipes/sphinx-speech/sphinx-fpu.inc b/recipes/sphinx-speech/sphinx-fpu.inc new file mode 100644 index 0000000000..73ae2ec16e --- /dev/null +++ b/recipes/sphinx-speech/sphinx-fpu.inc @@ -0,0 +1,6 @@ + +def get_sphinx_fpu_setting(bb, d): + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + return "--enable-fixed" + return "" + diff --git a/recipes/sphinx-speech/sphinxbase_0.1.bb b/recipes/sphinx-speech/sphinxbase_0.1.bb new file mode 100644 index 0000000000..2830b9010a --- /dev/null +++ b/recipes/sphinx-speech/sphinxbase_0.1.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Base library for CMU Sphinx speech recognition engines" +HOMEPAGE = "http://www.speech.cs.cmu.edu/pocketsphinx/" +LICENSE = "BSD" + +SRC_URI = "${SOURCEFORGE_MIRROR}/cmusphinx/sphinxbase-${PV}.tar.bz2" + +inherit autotools + +require sphinx-fpu.inc +EXTRA_OECONF += "${@get_sphinx_fpu_setting(bb, d)}" + +do_stage () { + autotools_stage_all +} diff --git a/recipes/sphinx-speech/sphinxbase_0.3.bb b/recipes/sphinx-speech/sphinxbase_0.3.bb new file mode 100644 index 0000000000..2830b9010a --- /dev/null +++ b/recipes/sphinx-speech/sphinxbase_0.3.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Base library for CMU Sphinx speech recognition engines" +HOMEPAGE = "http://www.speech.cs.cmu.edu/pocketsphinx/" +LICENSE = "BSD" + +SRC_URI = "${SOURCEFORGE_MIRROR}/cmusphinx/sphinxbase-${PV}.tar.bz2" + +inherit autotools + +require sphinx-fpu.inc +EXTRA_OECONF += "${@get_sphinx_fpu_setting(bb, d)}" + +do_stage () { + autotools_stage_all +} -- cgit v1.2.3