author | mickeyl <mickeyl> | 2005-05-05 22:02:55 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-05 22:02:55 (UTC) |
commit | fdd31c3dd95a42d2666235ad8c2478b7ceead261 (patch) (unidiff) | |
tree | df6cf67018891193b642f4e1f2d28a4263502a4a /noncore/apps/opie-reader/FliteDyn | |
parent | 548bfb68e473add1a19d3dd861fc1785f5e6b5c0 (diff) | |
download | opie-fdd31c3dd95a42d2666235ad8c2478b7ceead261.zip opie-fdd31c3dd95a42d2666235ad8c2478b7ceead261.tar.gz opie-fdd31c3dd95a42d2666235ad8c2478b7ceead261.tar.bz2 |
use dependency system for flite plugins
Diffstat (limited to 'noncore/apps/opie-reader/FliteDyn') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/FliteDyn/FliteDyn.pro | 10 | ||||
-rw-r--r-- | noncore/apps/opie-reader/FliteDyn/config.in | 5 |
2 files changed, 13 insertions, 2 deletions
diff --git a/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro b/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro index 54927f5..5d03f91 100644 --- a/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro +++ b/noncore/apps/opie-reader/FliteDyn/FliteDyn.pro | |||
@@ -10,9 +10,17 @@ SOURCES = flitedyn.cpp | |||
10 | INTERFACES= | 10 | INTERFACES= |
11 | DESTDIR = $(OPIEDIR)/plugins/reader/outcodecs | 11 | DESTDIR = $(OPIEDIR)/plugins/reader/outcodecs |
12 | TARGET = flitedyn | 12 | TARGET = flitedyn |
13 | LIBS += -L/home/tim/flite/flite-1.2-release/lib -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex -lflite | 13 | LIBS += -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex -lflite |
14 | 14 | ||
15 | INCLUDEPATH+= $(OPIEDIR)/include | 15 | INCLUDEPATH+= $(OPIEDIR)/include |
16 | DEPENDPATH += $(OPIEDIR)/include | 16 | DEPENDPATH += $(OPIEDIR)/include |
17 | 17 | ||
18 | include( $(OPIEDIR)/include.pro ) | 18 | include( $(OPIEDIR)/include.pro ) |
19 | |||
20 | !isEmpty( LIBFLITE_INC_DIR ) { | ||
21 | INCLUDEPATH = $$LIBFLITE_INC_DIR $$INCLUDEPATH | ||
22 | } | ||
23 | !isEmpty( LIBFLITE_LIB_DIR ) { | ||
24 | LIBS = -L$$LIBFLITE_LIB_DIR $$LIBS | ||
25 | } | ||
26 | |||
diff --git a/noncore/apps/opie-reader/FliteDyn/config.in b/noncore/apps/opie-reader/FliteDyn/config.in index 4a791f9..d2db3c3 100644 --- a/noncore/apps/opie-reader/FliteDyn/config.in +++ b/noncore/apps/opie-reader/FliteDyn/config.in | |||
@@ -1,4 +1,7 @@ | |||
1 | config OPIE-READER-FLITEDYN | 1 | config OPIE-READER-FLITEDYN |
2 | boolean "opie-reader flite plugin (speech output via lib in 8kHz)" | 2 | boolean "opie-reader flite plugin (speech output via lib in 8kHz)" |
3 | default "n" | 3 | default "n" |
4 | depends OPIE-READER | 4 | depends OPIE-READER && LIBFLITE_DEP |
5 | comment "opie-reader flite plugin needs libflite" | ||
6 | depends !( OPIE-READER && LIBFLITE_DEP ) | ||
7 | |||