Browse Source

Makefile.am: add an android target to build the espeak-data.zip espeak-data-en_only.zip data files.

master
Reece H. Dunn 12 years ago
parent
commit
a953b93613
3 changed files with 29 additions and 1 deletions
  1. 5
    0
      .gitignore
  2. 17
    1
      Makefile.am
  3. 7
    0
      README.md

+ 5
- 0
.gitignore View File



*.o *.o


# android build output:

espeak-data.zip
espeak-data-en_only.zip

# autotools # autotools


AUTHORS AUTHORS

+ 17
- 1
Makefile.am View File

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 \

+ 7
- 0
README.md View File

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

Loading…
Cancel
Save