diff --git a/.gitignore b/.gitignore index ab3fa1f3..c3403abf 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,9 @@ android/icons/*.png libttsespeak.so +android/res/raw/espeakdata.zip +android/res/raw/espeakdata_version + # autotools AUTHORS diff --git a/Makefile.am b/Makefile.am index 0446d94c..232f9ba7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -126,6 +126,7 @@ espeak-data/phontab: src/espeakedit espeak-data/dir.stamp espeak-data/dictsource ##### android language data packs: android/res/raw/espeakdata.zip: espeak-data/dir.stamp espeak-data/phontab dictionaries + mkdir -pv android/res/raw rm -f $@ find espeak-data/{intonations,phondata,phonindex,phontab} | zip -@ $@ find espeak-data/*_dict | zip -@ $@ diff --git a/README.md b/README.md index 97def4fb..0d8fb41e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ configured correctly: 2. Android NDK 3. Eclipse 4. Android Developer Tools (ADT) for Eclipse -5. wxWidgets 2.8 (for espeakedit if building the `espeak-data` zip files) +5. wxWidgets 2.8 (for espeakedit when building `android/res/raw/espeakdata.zip`) ## Fetching the Sources @@ -27,16 +27,15 @@ The Android port uses the `ucd-tools` submodule. You can fetch this by running: $ cd android $ ndk-build -2. Open Eclipse. -3. Create a new workspace. -4. Import the espeak folder as an exising Android project. -5. Build the espeak apk within Eclipse. +2. Build the `android/res/raw/espeakdata.zip` file by running: -In order to build the `espeakdata.zip` file in `android/res/raw`, you need to run the following commands: - - $ ./autogen.sh - $ ./configure --prefix=/usr - $ make android + $ ./autogen.sh + $ ./configure --prefix=/usr + $ make android +3. Open Eclipse. +4. Create a new workspace. +5. Import the espeak folder as an exising Android project. +6. Build the espeak apk within Eclipse. ## Installing diff --git a/android/res/raw/espeakdata.zip b/android/res/raw/espeakdata.zip deleted file mode 100644 index 9bb12682..00000000 Binary files a/android/res/raw/espeakdata.zip and /dev/null differ diff --git a/android/res/raw/espeakdata_version b/android/res/raw/espeakdata_version deleted file mode 100644 index 6ea7db4c..00000000 --- a/android/res/raw/espeakdata_version +++ /dev/null @@ -1 +0,0 @@ -15d5f6a94bb1ee0da076b7c653173c03df365f40