[android] auto-download jpeglib
This commit is contained in:
parent
dacb6a41d3
commit
d2b5d5ad05
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user