Updated project files for many apps

This commit is contained in:
pelya
2010-12-31 11:42:15 +00:00
parent 43c24e1739
commit 49fa480e04
13 changed files with 38 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
CHANGE_APP_SETTINGS_VERSION=16
AUTO=

View File

@@ -3,6 +3,7 @@
KEYSTORE=~/.ssh/android.keystore
ALIAS=pelya
APPS_SKIP="src scummvm"
APPS_BUILD="$*"
mkdir -p apk
@@ -24,8 +25,12 @@ echo
# First edit app settings if their format was changed
for APP1 in project/jni/application/*/AndroidAppSettings.cfg; do
APP=`echo $APP1 | sed 's@project/jni/application/\([^/]*\)/.*@\1@'`
if echo $APPS_SKIP | grep $APP > /dev/null ; then
continue
if [ -n "$APPS_BUILD" ] ; then
echo "$APPS_BUILD" | grep "$APP" || continue
else
if echo $APPS_SKIP | grep $APP > /dev/null ; then
continue
fi
fi
rm project/jni/application/src
ln -s $APP project/jni/application/src
@@ -37,8 +42,12 @@ done
for APP1 in project/jni/application/*/AndroidAppSettings.cfg; do
APP=`echo $APP1 | sed 's@project/jni/application/\([^/]*\)/.*@\1@'`
if echo $APPS_SKIP | grep $APP > /dev/null ; then
continue
if [ -n "$APPS_BUILD" ] ; then
echo "$APPS_BUILD" | grep "$APP" || continue
else
if echo $APPS_SKIP | grep $APP > /dev/null ; then
continue
fi
fi
rm -f project/jni/application/src
ln -s $APP project/jni/application/src
@@ -52,7 +61,7 @@ for APP1 in project/jni/application/*/AndroidAppSettings.cfg; do
echo Compiling $APP
APPVERSION=`grep 'AppVersionCode=' AndroidAppSettings.cfg | sed 's/AppVersionCode=\(.*\)/\1/'`
OLDPATH="`pwd`"
( cd project && nice -n5 $NDKBUILD -j2 V=1 && ant release && \
( cd project && nice -n5 $NDKBUILD -j4 V=1 && ant release && \
jarsigner -verbose -keystore "$KEYSTORE" -storepass "$PASSWORD" bin/DemoActivity-unsigned.apk $ALIAS && \
zipalign 4 bin/DemoActivity-unsigned.apk ../apk/$APP.apk && \
mkdir -p debuginfo/$APP-$APPVERSION && cp -f obj/local/armeabi/libapplication.so obj/local/armeabi/libsdl-*.so debuginfo/$APP-$APPVERSION &&

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Set here your own NDK path if needed
# export PATH=$PATH:~/src/endless_space/android-ndk-r4b

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Set here your own NDK path if needed
# export PATH=$PATH:~/src/endless_space/android-ndk-r4b

View File

@@ -22,8 +22,8 @@ AppTouchscreenKeyboardKeysAmount=4
AppTouchscreenKeyboardKeysAmountAutoFire=1
RedefinedKeysScreenKb="RETURN LCTRL PAGEUP PAGEDOWN LCTRL"
MultiABI=n
AppVersionCode=110013
AppVersionName="1.1.0.13 - fixed crashes for some devices"
AppVersionCode=110014
AppVersionName="1.1.0.14"
CompiledLibraries="sdl_mixer sdl_image"
CustomBuildScript=n
AppCflags='-O3'

View File

@@ -22,8 +22,8 @@ AppTouchscreenKeyboardKeysAmount=0
AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeysScreenKb="LCTRL M T H E C SPACE C S L"
MultiABI=n
AppVersionCode=214909
AppVersionName="2149.09"
AppVersionCode=214910
AppVersionName="2149.10"
CompiledLibraries="sdl_net sdl_mixer sdl_image sdl_ttf png intl"
CustomBuildScript=n
AppCflags='-finline-functions -O2 -DWITH_ZLIB -DWITH_MIXER -DWITH_XML -DWITH_IMAGE -DWITH_TTF'

View File

@@ -22,8 +22,8 @@ AppTouchscreenKeyboardKeysAmount=0
AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeysScreenKb="LALT RETURN KP_PLUS KP_MINUS SPACE DELETE KP_PLUS KP_MINUS 1 2"
MultiABI=n
AppVersionCode=10508
AppVersionName="1.0.5.08"
AppVersionCode=10510
AppVersionName="1.0.5.10"
CompiledLibraries="png lzo2"
CustomBuildScript=y
AppCflags=''

View File

@@ -22,8 +22,8 @@ AppTouchscreenKeyboardKeysAmount=0
AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeysScreenKb="LALT RETURN KP_PLUS KP_MINUS SPACE DELETE KP_PLUS KP_MINUS 1 2"
MultiABI=n
AppVersionCode=10509
AppVersionName="1.0.5.09"
AppVersionCode=10510
AppVersionName="1.0.5.10"
CompiledLibraries="jpeg png freetype timidity lzma lzo2"
CustomBuildScript=y
AppCflags=''

View File

@@ -22,8 +22,8 @@ AppTouchscreenKeyboardKeysAmount=4
AppTouchscreenKeyboardKeysAmountAutoFire=1
RedefinedKeysScreenKb="SPACE RETURN LCTRL LALT"
MultiABI=n
AppVersionCode=2116
AppVersionName="2.1.16 - fixed crashes for some devices"
AppVersionCode=2117
AppVersionName="2.1.17"
CompiledLibraries="sdl_net"
CustomBuildScript=n
AppCflags='-O3'

View File

@@ -1,5 +1,5 @@
# The application settings for Android libSDL port
AppSettingVersion=14
AppSettingVersion=16
LibSdlVersion=1.2
AppName="Pachi el marciano"
AppFullName=net.sourceforge.dragontech.pachi
@@ -20,13 +20,15 @@ NonBlockingSwapBuffers=n
RedefinedKeys="SPACE RETURN"
AppTouchscreenKeyboardKeysAmount=1
AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeysScreenKb="SPACE RETURN"
MultiABI=n
AppVersionCode=103
AppVersionName="1.03 - fixed monsters not shown on HTC G1"
AppVersionCode=104
AppVersionName="1.04"
CompiledLibraries="sdl_mixer"
CustomBuildScript=n
AppCflags='-O2 -finline-functions -Wno-write-strings'
AppLdflags=''
AppSubdirsBuild=''
AppUseCrystaXToolchain=n
AppCmdline=''
ReadmeText='^You may press "Home" now - the data will be downloaded in background'

View File

@@ -1 +1 @@
ballfield
teeworlds

View File

@@ -1,5 +1,5 @@
# The application settings for Android libSDL port
AppSettingVersion=15
AppSettingVersion=16
LibSdlVersion=1.2
AppName="TeeWorlds"
AppFullName=com.teeworlds
@@ -20,9 +20,10 @@ NonBlockingSwapBuffers=n
RedefinedKeys="SPACE RETURN LEFT RIGHT LSHIFT ESCAPE RSHIFT LSHIFT"
AppTouchscreenKeyboardKeysAmount=6
AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeysScreenKb="SPACE RETURN LEFT RIGHT RSHIFT LSHIFT"
MultiABI=y
AppVersionCode=5204
AppVersionName="0.5.2.04"
AppVersionCode=5205
AppVersionName="0.5.2.05"
CompiledLibraries="sdl_image freetype"
CustomBuildScript=n
AppCflags='-O3'