5 unzip -qq tmp.zip -d SDL-android-project/jni/tmp #unzip it to a tmp file |
5 unzip -qq tmp.zip -d SDL-android-project/jni/tmp #unzip it to a tmp file |
6 rm -fr SDL-android-project/jni/$2 #remove any old dirs, we will get those files back with hg revert in CMakeList |
6 rm -fr SDL-android-project/jni/$2 #remove any old dirs, we will get those files back with hg revert in CMakeList |
7 mv SDL-android-project/jni/tmp/* SDL-android-project/jni/$2 #move the tmp dir to the jni directory |
7 mv SDL-android-project/jni/tmp/* SDL-android-project/jni/$2 #move the tmp dir to the jni directory |
8 rm tmp.zip #remove old tmp dir |
8 rm tmp.zip #remove old tmp dir |
9 } |
9 } |
10 download_and_zip http://www.libsdl.org/projects/SDL_image/libs/jpegsr8d.zip jpeg |
10 download_and_zip http://www.xelification.com/tmp/jpeg.zip jpeg |
11 download_and_zip http://www.libsdl.org/projects/SDL_image/libs/lpng157.zip png |
11 download_and_zip http://www.xelification.com/tmp/png.zip png |
12 download_and_zip http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.zip SDL_image |
12 download_and_zip http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.zip SDL_image |
13 download_and_zip http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.zip SDL_mixer |
13 download_and_zip http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.zip SDL_mixer |
14 download_and_zip http://www.xelification.com/tmp/mikmod.zip mikmod #temporary url since the libsdl.org site doesn't work at the moment |
14 download_and_zip http://www.xelification.com/tmp/mikmod.zip mikmod #temporary url since the libsdl.org site doesn't work at the moment |
15 download_and_zip http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8.zip SDL_net |
15 download_and_zip http://www.xelification.com/tmp/SDL_net.zip SDL_net |
16 download_and_zip http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.zip SDL_ttf |
16 download_and_zip http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.zip SDL_ttf |
17 download_and_zip http://www.libsdl.org/tmp/SDL-1.3.zip SDL |
17 download_and_zip http://www.libsdl.org/tmp/SDL-1.3.zip SDL |
18 |
18 |