diff options
Diffstat (limited to 'packages/sphinx-speech')
-rw-r--r-- | packages/sphinx-speech/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/sphinx-speech/pocketsphinx/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/sphinx-speech/pocketsphinx/cross-compile.patch | 11 | ||||
-rw-r--r-- | packages/sphinx-speech/pocketsphinx_0.2.1.bb | 13 | ||||
-rw-r--r-- | packages/sphinx-speech/pocketsphinx_0.4.1.bb | 13 | ||||
-rw-r--r-- | packages/sphinx-speech/sphinx-fpu.inc | 6 | ||||
-rw-r--r-- | packages/sphinx-speech/sphinxbase_0.1.bb | 14 | ||||
-rw-r--r-- | packages/sphinx-speech/sphinxbase_0.3.bb | 14 |
8 files changed, 71 insertions, 0 deletions
diff --git a/packages/sphinx-speech/.mtn2git_empty b/packages/sphinx-speech/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/sphinx-speech/.mtn2git_empty diff --git a/packages/sphinx-speech/pocketsphinx/.mtn2git_empty b/packages/sphinx-speech/pocketsphinx/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/sphinx-speech/pocketsphinx/.mtn2git_empty diff --git a/packages/sphinx-speech/pocketsphinx/cross-compile.patch b/packages/sphinx-speech/pocketsphinx/cross-compile.patch new file mode 100644 index 0000000000..4392204657 --- /dev/null +++ b/packages/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/packages/sphinx-speech/pocketsphinx_0.2.1.bb b/packages/sphinx-speech/pocketsphinx_0.2.1.bb new file mode 100644 index 0000000000..813146ed86 --- /dev/null +++ b/packages/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/packages/sphinx-speech/pocketsphinx_0.4.1.bb b/packages/sphinx-speech/pocketsphinx_0.4.1.bb new file mode 100644 index 0000000000..813146ed86 --- /dev/null +++ b/packages/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/packages/sphinx-speech/sphinx-fpu.inc b/packages/sphinx-speech/sphinx-fpu.inc new file mode 100644 index 0000000000..73ae2ec16e --- /dev/null +++ b/packages/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/packages/sphinx-speech/sphinxbase_0.1.bb b/packages/sphinx-speech/sphinxbase_0.1.bb new file mode 100644 index 0000000000..2830b9010a --- /dev/null +++ b/packages/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/packages/sphinx-speech/sphinxbase_0.3.bb b/packages/sphinx-speech/sphinxbase_0.3.bb new file mode 100644 index 0000000000..2830b9010a --- /dev/null +++ b/packages/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 +} |