added building of the theora library

This commit is contained in:
Martin Felis
2015-12-09 12:41:20 +01:00
parent 686e1d5f3e
commit 8f5ee4a05e
69 changed files with 26482 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
#
# This file is a modified version of the android build system of the
# Adventure Game Studio (AGS) https://github.com/adventuregamestudio/ags
#
set -e
source ./ndkenv.sh
BUILD_DIR=build
rm -rf $BUILD_DIR
mkdir $BUILD_DIR
cp ../src/* -a $BUILD_DIR
export CFLAGS="$NDK_CFLAGS -fsigned-char --sysroot=$NDK_PLATFORM_ROOT"
export LDFLAGS="$NDK_LDFLAGS"
pushd $BUILD_DIR
# disable asflag-probe as it guess wrong arm arch
./autogen.sh --host=$NDK_HOST_NAME --disable-doc --disable-examples --disable-asflag-probe --disable-encode --disable-shared --disable-spec --disable-oggtest --disable-vorbistest
popd