-rw-r--r-- | noncore/apps/opie-reader/FliteDyn/FliteDyn.pro | 10 | ||||
-rw-r--r-- | noncore/apps/opie-reader/FliteDyn/config.in | 5 | ||||
-rw-r--r-- | noncore/apps/opie-reader/FliteDyn16/FliteDyn16.pro | 12 | ||||
-rw-r--r-- | noncore/apps/opie-reader/FliteDyn16/config.in | 4 |
4 files changed, 27 insertions, 4 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 | |||
@@ -12,3 +12,3 @@ 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 | ||
@@ -18 +18,9 @@ DEPENDPATH += $(OPIEDIR)/include | |||
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 | |||
@@ -3,2 +3,5 @@ | |||
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 | |||
diff --git a/noncore/apps/opie-reader/FliteDyn16/FliteDyn16.pro b/noncore/apps/opie-reader/FliteDyn16/FliteDyn16.pro index 0f92e49..9fb7a56 100644 --- a/noncore/apps/opie-reader/FliteDyn16/FliteDyn16.pro +++ b/noncore/apps/opie-reader/FliteDyn16/FliteDyn16.pro | |||
@@ -12,3 +12,3 @@ 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_kal16 -lflite_usenglish -lflite_cmulex -lflite | 13 | LIBS += -lflite_cmu_us_kal16 -lflite_usenglish -lflite_cmulex -lflite |
14 | 14 | ||
@@ -18 +18,11 @@ DEPENDPATH += $(OPIEDIR)/include | |||
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 | |||
27 | |||
28 | |||
diff --git a/noncore/apps/opie-reader/FliteDyn16/config.in b/noncore/apps/opie-reader/FliteDyn16/config.in index 869fddc..c6f73e5 100644 --- a/noncore/apps/opie-reader/FliteDyn16/config.in +++ b/noncore/apps/opie-reader/FliteDyn16/config.in | |||
@@ -3,2 +3,4 @@ | |||
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 ) | ||