mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-26 21:14:27 +00:00
android: use gradle to build data archive
this fixes #1161 separates the android application build system from automake and simplifies building an application on windows.
This commit is contained in:
+1
-14
@@ -388,20 +388,7 @@ apk-debug: espeakdata
|
||||
apk-check: espeakdata
|
||||
cd android && $(GRADLE) connectedCheck
|
||||
|
||||
android/res/raw/espeakdata.zip: espeak-ng-data/phontab dictionaries
|
||||
mkdir -pv android/res/raw
|
||||
rm -f $@
|
||||
find espeak-ng-data/{intonations,phondata,phonindex,phontab} | zip -@ $@
|
||||
find espeak-ng-data/*_dict | zip -@ $@
|
||||
find espeak-ng-data/lang -type f | zip -@ $@
|
||||
find espeak-ng-data/voices -type f | grep -vF "/mb/" | zip -@ $@
|
||||
|
||||
android/res/raw/espeakdata_version: android/res/raw/espeakdata.zip
|
||||
sha1sum $< | awk '{ print $$1 }' > $@
|
||||
|
||||
espeakdata: \
|
||||
android/res/raw/espeakdata.zip \
|
||||
android/res/raw/espeakdata_version
|
||||
espeakdata: espeak-ng-data/phontab dictionaries
|
||||
|
||||
##### dictionaries:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user