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 CHANGE_APP_SETTINGS_VERSION=16
AUTO= AUTO=

View File

@@ -3,6 +3,7 @@
KEYSTORE=~/.ssh/android.keystore KEYSTORE=~/.ssh/android.keystore
ALIAS=pelya ALIAS=pelya
APPS_SKIP="src scummvm" APPS_SKIP="src scummvm"
APPS_BUILD="$*"
mkdir -p apk mkdir -p apk
@@ -24,8 +25,12 @@ echo
# First edit app settings if their format was changed # First edit app settings if their format was changed
for APP1 in project/jni/application/*/AndroidAppSettings.cfg; do for APP1 in project/jni/application/*/AndroidAppSettings.cfg; do
APP=`echo $APP1 | sed 's@project/jni/application/\([^/]*\)/.*@\1@'` APP=`echo $APP1 | sed 's@project/jni/application/\([^/]*\)/.*@\1@'`
if echo $APPS_SKIP | grep $APP > /dev/null ; then if [ -n "$APPS_BUILD" ] ; then
continue echo "$APPS_BUILD" | grep "$APP" || continue
else
if echo $APPS_SKIP | grep $APP > /dev/null ; then
continue
fi
fi fi
rm project/jni/application/src rm project/jni/application/src
ln -s $APP 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 for APP1 in project/jni/application/*/AndroidAppSettings.cfg; do
APP=`echo $APP1 | sed 's@project/jni/application/\([^/]*\)/.*@\1@'` APP=`echo $APP1 | sed 's@project/jni/application/\([^/]*\)/.*@\1@'`
if echo $APPS_SKIP | grep $APP > /dev/null ; then if [ -n "$APPS_BUILD" ] ; then
continue echo "$APPS_BUILD" | grep "$APP" || continue
else
if echo $APPS_SKIP | grep $APP > /dev/null ; then
continue
fi
fi fi
rm -f project/jni/application/src rm -f project/jni/application/src
ln -s $APP 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 echo Compiling $APP
APPVERSION=`grep 'AppVersionCode=' AndroidAppSettings.cfg | sed 's/AppVersionCode=\(.*\)/\1/'` APPVERSION=`grep 'AppVersionCode=' AndroidAppSettings.cfg | sed 's/AppVersionCode=\(.*\)/\1/'`
OLDPATH="`pwd`" 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 && \ jarsigner -verbose -keystore "$KEYSTORE" -storepass "$PASSWORD" bin/DemoActivity-unsigned.apk $ALIAS && \
zipalign 4 bin/DemoActivity-unsigned.apk ../apk/$APP.apk && \ 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 && 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 # Set here your own NDK path if needed
# export PATH=$PATH:~/src/endless_space/android-ndk-r4b # 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 # Set here your own NDK path if needed
# export PATH=$PATH:~/src/endless_space/android-ndk-r4b # export PATH=$PATH:~/src/endless_space/android-ndk-r4b

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
# The application settings for Android libSDL port # The application settings for Android libSDL port
AppSettingVersion=14 AppSettingVersion=16
LibSdlVersion=1.2 LibSdlVersion=1.2
AppName="Pachi el marciano" AppName="Pachi el marciano"
AppFullName=net.sourceforge.dragontech.pachi AppFullName=net.sourceforge.dragontech.pachi
@@ -20,13 +20,15 @@ NonBlockingSwapBuffers=n
RedefinedKeys="SPACE RETURN" RedefinedKeys="SPACE RETURN"
AppTouchscreenKeyboardKeysAmount=1 AppTouchscreenKeyboardKeysAmount=1
AppTouchscreenKeyboardKeysAmountAutoFire=0 AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeysScreenKb="SPACE RETURN"
MultiABI=n MultiABI=n
AppVersionCode=103 AppVersionCode=104
AppVersionName="1.03 - fixed monsters not shown on HTC G1" AppVersionName="1.04"
CompiledLibraries="sdl_mixer" CompiledLibraries="sdl_mixer"
CustomBuildScript=n CustomBuildScript=n
AppCflags='-O2 -finline-functions -Wno-write-strings' AppCflags='-O2 -finline-functions -Wno-write-strings'
AppLdflags='' AppLdflags=''
AppSubdirsBuild='' AppSubdirsBuild=''
AppUseCrystaXToolchain=n AppUseCrystaXToolchain=n
AppCmdline=''
ReadmeText='^You may press "Home" now - the data will be downloaded in background' 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 # The application settings for Android libSDL port
AppSettingVersion=15 AppSettingVersion=16
LibSdlVersion=1.2 LibSdlVersion=1.2
AppName="TeeWorlds" AppName="TeeWorlds"
AppFullName=com.teeworlds AppFullName=com.teeworlds
@@ -20,9 +20,10 @@ NonBlockingSwapBuffers=n
RedefinedKeys="SPACE RETURN LEFT RIGHT LSHIFT ESCAPE RSHIFT LSHIFT" RedefinedKeys="SPACE RETURN LEFT RIGHT LSHIFT ESCAPE RSHIFT LSHIFT"
AppTouchscreenKeyboardKeysAmount=6 AppTouchscreenKeyboardKeysAmount=6
AppTouchscreenKeyboardKeysAmountAutoFire=0 AppTouchscreenKeyboardKeysAmountAutoFire=0
RedefinedKeysScreenKb="SPACE RETURN LEFT RIGHT RSHIFT LSHIFT"
MultiABI=y MultiABI=y
AppVersionCode=5204 AppVersionCode=5205
AppVersionName="0.5.2.04" AppVersionName="0.5.2.05"
CompiledLibraries="sdl_image freetype" CompiledLibraries="sdl_image freetype"
CustomBuildScript=n CustomBuildScript=n
AppCflags='-O3' AppCflags='-O3'