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>