From 30cca6e00a7cfe028bb162eba84f3392bb6cf653 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 23 Jan 2016 02:40:48 +0100 Subject: [PATCH] Tanks of Freedom: add 0.4.0.3-beta release --- metadata/in.p1x.tanks_of_freedom.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/metadata/in.p1x.tanks_of_freedom.txt b/metadata/in.p1x.tanks_of_freedom.txt index 446f85e7a3..12473ed78f 100644 --- a/metadata/in.p1x.tanks_of_freedom.txt +++ b/metadata/in.p1x.tanks_of_freedom.txt @@ -229,5 +229,31 @@ Build:0.4.0.2-beta,9 cd ../tof && \ ../godot/bin/godot_server.server.tools.* -export Android ../tof.apk +Build:0.4.0.3-beta,10 + commit=45e304d363d18f591cd214fc0fd3ad35000b1b4c + output=tof.apk + srclibs=Godot@d3b42e41b0e446938d6634c8783e575de3d0b60f + prebuild=mkdir tof && \ + bash -O extglob -c "mv !(tof) tof" && \ + printf "[platform:Android]\n\npackage/icon=\"res://icon.png\"\npackage/name=\"Tanks of Freedom\"\npackage/unique_name=\"in.p1x.tanks_of_freedom\"\nversion/code=\"10\"\nversion/name=\"0.4.0.3-beta\"\n" > tof/export.cfg && \ + cp -R $$Godot$$ godot + target=android-19 + scandelete=godot/platform/flash/lib/libGL.a,godot/platform/android/libs/google_play_services/libs/google-play-services.jar,godot/drivers/builtin_openssl2/crypto/pkcs7/p7/ + build=cd godot && \ + scons -j 8 p=server && \ + for libname in apk_expansion downloader_library google_play_services play_licensing; do sed -i 's/android-15/android-19/' platform/android/libs/${libname}/project.properties; done && \ + export ANDROID_NDK_ROOT=$$NDK$$ && \ + scons -j 8 p=android target=release && \ + mkdir -p platform/android/java/libs/armeabi && \ + cp bin/libgodot.android.opt.so platform/android/java/libs/armeabi/libgodot_android.so && \ + pushd platform/android/java/ && \ + ant release && \ + popd && \ + export HOME=$PWD && \ + mkdir -p ~/.godot/templates/ && \ + cp platform/android/java/bin/Godot-release-unsigned.apk ~/.godot/templates/android_release.apk && \ + cd ../tof && \ + ../godot/bin/godot_server.server.tools.* -export Android ../tof.apk + Auto Update Mode:None Update Check Mode:None