[oe-commits] org.oe.dev pocketsphinx: New package, the CMU PocketSphinx speech recognition engine for handhelds.

pfalcon commit openembedded-commits at lists.openembedded.org
Fri Oct 13 10:25:54 UTC 2006


pocketsphinx: New package, the CMU PocketSphinx speech recognition engine for handhelds.
* Also, a dependent sphinxbase package.
* Package directory is called sphinx, to fit future ports of full-fledged 
Sphinx engines.
* Package is rough for ipkg conventions, just autotools' make install. Whoever
actually does speech recognition with it, please add sane packaging ;-).

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 5369901ff675d4c926113d856ce9da4c8c12fed0
ViewMTN: http://monotone.openembedded.org/revision.psp?id=5369901ff675d4c926113d856ce9da4c8c12fed0
Files:
1
packages/sphinx
packages/sphinx/pocketsphinx
packages/sphinx/pocketsphinx/cross-compile.patch
packages/sphinx/pocketsphinx_0.2.bb
packages/sphinx/sphinxbase_0.1.bb
Diffs:

#
# mt diff -r2422af23758dd1ca01a763f6d9cfb205edfbb4ab -r5369901ff675d4c926113d856ce9da4c8c12fed0
#
# 
# 
# add_dir "packages/sphinx"
# 
# add_dir "packages/sphinx/pocketsphinx"
# 
# add_file "packages/sphinx/pocketsphinx/cross-compile.patch"
#  content [aca8a7d1523a42f35181fb41eeec6e0b36098bb8]
# 
# add_file "packages/sphinx/pocketsphinx_0.2.bb"
#  content [9659ad44d18d22414f04109ab0586b43ff59661e]
# 
# add_file "packages/sphinx/sphinxbase_0.1.bb"
#  content [12ca83d031a1c79571bd347ecd7b83bf8b1d76bf]
# 
============================================================
--- packages/sphinx/pocketsphinx/cross-compile.patch	aca8a7d1523a42f35181fb41eeec6e0b36098bb8
+++ packages/sphinx/pocketsphinx/cross-compile.patch	aca8a7d1523a42f35181fb41eeec6e0b36098bb8
@@ -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
============================================================
--- packages/sphinx/pocketsphinx_0.2.bb	9659ad44d18d22414f04109ab0586b43ff59661e
+++ packages/sphinx/pocketsphinx_0.2.bb	9659ad44d18d22414f04109ab0586b43ff59661e
@@ -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/pocketsphinx-0.2.tar.bz2 \
+           file://cross-compile.patch;patch=1"
+
+inherit autotools
+
+do_configure () {
+    CPPFLAGS="-I${STAGING_INCDIR}/sphinxbase" oe_runconf
+}
============================================================
--- packages/sphinx/sphinxbase_0.1.bb	12ca83d031a1c79571bd347ecd7b83bf8b1d76bf
+++ packages/sphinx/sphinxbase_0.1.bb	12ca83d031a1c79571bd347ecd7b83bf8b1d76bf
@@ -0,0 +1,13 @@
+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-0.1.tar.bz2"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-fixed"
+
+do_stage () {
+    autotools_stage_all
+}






More information about the Openembedded-commits mailing list