Update PocketSphinx to the latest builds... only had to make two changes
This commit is contained in:
parent
33692bb7d3
commit
1a39d7fb34
|
@ -1,7 +1,7 @@
|
|||
SPHINXBASE=sphinxbase-0.4.99
|
||||
SPHINXBASE=sphinxbase-0.7
|
||||
SPHINXBASE_DIR=$(switch_srcdir)/libs/$(SPHINXBASE)
|
||||
SPHINXBASE_BUILDDIR=$(switch_builddir)/libs/$(SPHINXBASE)
|
||||
POCKETSPHINX=pocketsphinx-0.5.99
|
||||
POCKETSPHINX=pocketsphinx-0.7
|
||||
POCKETSPHINX_DIR=$(switch_srcdir)/libs/$(POCKETSPHINX)
|
||||
POCKETSPHINX_BUILDDIR=$(switch_builddir)/libs/$(POCKETSPHINX)
|
||||
SPHINXBASE_LA=$(SPHINXBASE_BUILDDIR)/src/libsphinxbase/libsphinxbase.la
|
||||
|
@ -17,7 +17,7 @@ BASE=../../../..
|
|||
include $(BASE)/build/modmake.rules
|
||||
|
||||
$(SPHINXBASE_DIR):
|
||||
$(GETLIB) $(SPHINXBASE)-20091212.tar.gz
|
||||
$(GETLIB) $(SPHINXBASE).tar.gz
|
||||
|
||||
$(SPHINXBASE_BUILDDIR)/buildstamp: $(SPHINXBASE_DIR)
|
||||
mkdir -p $(SPHINXBASE_BUILDDIR)
|
||||
|
@ -29,7 +29,7 @@ $(SPHINXBASE_LA): $(SPHINXBASE_BUILDDIR)/buildstamp
|
|||
$(TOUCH_TARGET)
|
||||
|
||||
$(POCKETSPHINX_DIR):
|
||||
$(GETLIB) $(POCKETSPHINX)-20091212.tar.gz
|
||||
$(GETLIB) $(POCKETSPHINX).tar.gz
|
||||
|
||||
$(POCKETSPHINX_BUILDDIR)/Makefile: $(POCKETSPHINX_DIR) $(SPHINXBASE_LA)
|
||||
mkdir -p $(POCKETSPHINX_BUILDDIR)
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
#include <switch.h>
|
||||
#include <pocketsphinx.h>
|
||||
#include <err.h>
|
||||
#include <logmath.h>
|
||||
#include <sphinxbase/err.h>
|
||||
#include <sphinxbase/logmath.h>
|
||||
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_pocketsphinx_load);
|
||||
SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_pocketsphinx_shutdown);
|
||||
|
|
Loading…
Reference in New Issue