The recent commits are a bit less refined than usual since they were an effort to repair my local repository that got corrupted. I just did another commit though that should fix building of the native libraries.
To compile you need the NDK version 6!
http://dl.google.com/android/ndk/android-ndk-r6-linux-x86.tar.bz2The newer versions of the NDK (6b or 7) will error out while linking the native libraries.
Also the cygwin version of the NDK will not work to build the libraries.
I put the NDK under /opt/android-ndk-r6, but no script should depend on that I think.
These have to be exported:
export NDK_ROOT=/opt/android-ndk-r6
export PATH=$PATH:$NDK_ROOT/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin
The scripts in the Android/buildlibs/armeabi* directory should automatically download, patch and install the required libraries. Some of them have depencies on each other.
A safe order should be: png, freetype, ogg, tremor, theora-svn, allegro, dumb.
The difference between theora and theora-svn is that the latter is version 1.2 alpha which will make use of ARM assembler instructions to speed up decoding.
The library autotools scripts have their own dependencies that I don't know off hand. What is certainly needed is autotools, cmake and subversion.
Once all libraries are built for armeabi and armeabi-v7a, you can build the AGS engine library. This is done with the NDK build tool "ndk-build":
/opt/android-ndk-r6/ndk-build NDK_PROJECT_PATH=<full path up to here>/Android/app/
NDK_PROJECT_PATH has to point to the root of the application directory.
The native libraries are automatically recognized by the SDK build system. So just running the application in Eclipse will put them into the APK.
Please note that the native libraries for armeabi are actually built with an arm-v6 target to enable the optimizations in libtheora. This means that the application will not run in the emulator.
Btw, this is not dead or anything

. I am at the moment working on speeding up rendering, so stay tuned.