summaryrefslogtreecommitdiffstats
path: root/spelling
diff options
context:
space:
mode:
authorPol Vinogradov2007-08-25 00:07:53 +0500
committerPol Vinogradov2007-08-25 00:07:53 +0500
commit3384d0d5c79aec05ac1b2b356b1dc3ab87cf52f2 (patch)
tree49f32ee6f174dfebcdeb6d644f09f4aaa77953b9 /spelling
parente116e06e29cc909c0c0d8d9741d8927a7863db77 (diff)
spelling/stardict:
PRE_BUILD: fixed building with espeak
Diffstat (limited to 'spelling')
-rw-r--r--spelling/stardict/HISTORY3
-rwxr-xr-xspelling/stardict/PRE_BUILD6
2 files changed, 9 insertions, 0 deletions
diff --git a/spelling/stardict/HISTORY b/spelling/stardict/HISTORY
index 4c9c0af094..7235b353c2 100644
--- a/spelling/stardict/HISTORY
+++ b/spelling/stardict/HISTORY
@@ -1,3 +1,6 @@
+2007-08-25 Pol Vinogradov <vin.public@gmail.com>
+ * PRE_BUILD: fixed building with espeak
+
2007-08-16 Pol Vinogradov <vin.public@gmail.com>
* DETAILS: PATCHLEVEL++
diff --git a/spelling/stardict/PRE_BUILD b/spelling/stardict/PRE_BUILD
index 34024acc5d..2e61342e8c 100755
--- a/spelling/stardict/PRE_BUILD
+++ b/spelling/stardict/PRE_BUILD
@@ -3,6 +3,12 @@ cd ${SOURCE_DIRECTORY} &&
patch -p0 < ${SCRIPT_DIRECTORY}/configure.patch &&
patch -p0 < ${SCRIPT_DIRECTORY}/prefsdlg.patch &&
+source ${GRIMOIRE}/is_depends_enabled.function &&
+if is_depends_enabled ${SPELL} espeak
+then
+ sedit "s:espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL);:espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL, 0);:" \
+ stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp
+fi &&
intltoolize --force --copy &&
echo n | libtoolize --copy --force &&
aclocal -I m4 &&