~alcinnz/rhapsode

bfcceaac93082176ddf0c0aa31d6edb7c230d70b — Adrian Cochrane 3 years ago ff13105
Add dependency on CMU Sphinx.
2 files changed, 4 insertions(+), 0 deletions(-)

M rhapsode.cabal
M src/main.c
M rhapsode.cabal => rhapsode.cabal +2 -0
@@ 78,6 78,8 @@ executable rhapsode
  main-is: main.c
  ghc-options: -no-hs-main -threaded
  extra-libraries: espeak-ng, sndfile
  -- pkgconfig-depends: pocketsphinx, sphinxbase -- FIXME errors out
  cc-options: -I/usr/include/sphinxbase -I/usr/include/pocketsphinx -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/sphinxbase -lpocketsphinx -lsphinxbase -lsphinxad
  build-depends:       base >=4.9 && <=4.12, rhapsode
  other-modules: Stub
  hs-source-dirs: src

M src/main.c => src/main.c +2 -0
@@ 10,6 10,8 @@
#include <espeak-ng/espeak_ng.h>
#include <sndfile.h>

#include <pocketsphinx/pocketsphinx.h>

// #define WITH_SPEECHD // FIXME Doesn't support audio cues, navigation, or even read the full page.
#ifdef WITH_SPEECHD
#include <speechd_types.h>