*.o | *.o | ||||
# android build output: | |||||
espeak-data.zip | |||||
espeak-data-en_only.zip | |||||
# autotools | # autotools | ||||
AUTHORS | AUTHORS |
espeak-data/phontab: src/espeakedit espeak-data/dir.stamp espeak-data/dictsource/dir.stamp espeak-data/phsource/dir.stamp | espeak-data/phontab: src/espeakedit espeak-data/dir.stamp espeak-data/dictsource/dir.stamp espeak-data/phsource/dir.stamp | ||||
src/espeakedit --compile | src/espeakedit --compile | ||||
##### android language data packs: | |||||
espeak-data.zip: espeak-data/dir.stamp espeak-data/phontab dictionaries | |||||
rm -f $@ | |||||
cd espeak-data && zip -r ../$@ \ | |||||
intonations phondata phonindex phontab \ | |||||
*_dict voices | |||||
espeak-data-en_only.zip: espeak-data/dir.stamp espeak-data/phontab espeak-data/en_dict | |||||
echo rm -f $@ | |||||
cd espeak-data && zip -r ../$@ \ | |||||
intonations phondata phonindex phontab \ | |||||
en_dict voices/en | |||||
android: espeak-data.zip espeak-data-en_only.zip | |||||
##### dictionaries: | ##### dictionaries: | ||||
dictionaries: \ | |||||
dictionaries: src/espeak \ | |||||
espeak-data/af_dict \ | espeak-data/af_dict \ | ||||
espeak-data/ak_dict \ | espeak-data/ak_dict \ | ||||
espeak-data/am_dict \ | espeak-data/am_dict \ |
2. Android NDK | 2. Android NDK | ||||
3. Eclipse | 3. Eclipse | ||||
4. Android Developer Tools (ADT) for Eclipse | 4. Android Developer Tools (ADT) for Eclipse | ||||
5. wxWidgets 2.8 (for espeakedit if building the `espeak-data` zip files) | |||||
## Building | ## Building | ||||
4. Import the espeak folder as an exising Android project. | 4. Import the espeak folder as an exising Android project. | ||||
5. Build the espeak apk within Eclipse. | 5. Build the espeak apk within Eclipse. | ||||
In order to build the `espeak-data.zip` and `espeak-data-en_only.zip` data files, you need to run the following commands: | |||||
$ ./autogen.sh | |||||
$ ./configure --prefix=/usr | |||||
$ make android | |||||
## Installing | ## Installing | ||||
The generated `eSpeakActivity.apk` can be installed like any other apk build | The generated `eSpeakActivity.apk` can be installed like any other apk build |