diff --git a/android/Makefile b/android/Makefile index e4a703e02..dfdaa8b21 100644 --- a/android/Makefile +++ b/android/Makefile @@ -5,7 +5,7 @@ export PATH :=$(shell pwd)/obj/bin:${PATH} all: build apk # target: build - Build the native code -build: obj/freetype.stamp jni/ifaddrs/ifaddrs.h +build: obj/freetype.stamp jni/ifaddrs/ifaddrs.h jni/jpeglib/jpeglib.h NDK_CCACHE=ccache ${NDK_PATH}/ndk-build -j3 # target: apk - Make a debug APK @@ -38,4 +38,8 @@ obj/freetype.stamp: jni/ifaddrs/ifaddrs.h: cd jni && git clone https://github.com/morristech/android-ifaddrs.git ifaddrs +jni/jpeglib/jpeglib.h: + git clone https://github.com/folecr/jpeg8d jni/jpeglib + + #wget http://mirror6.layerjet.com/nongnu//freetype/freetype-2.6.tar.gz diff --git a/android/readme.android b/android/readme.android index 6382792b1..571f017c1 100644 --- a/android/readme.android +++ b/android/readme.android @@ -4,8 +4,8 @@ The android sdk must be installed in /opt. ant is also needed. -Download a suitable jpeglib -=========================== +[not needed anymore] Download a suitable jpeglib (done automatically by the Makefile) +================================================================ > git clone https://github.com/folecr/jpeg8d jni/jpeglib Build an apk