From cff6db10f45b153db8aa25420eb73eecd41e28a1 Mon Sep 17 00:00:00 2001 From: Rancor Date: Fri, 13 Mar 2015 08:50:31 +0100 Subject: [PATCH] Update Vector Pinball to 1.5 (15) --- metadata/com.dozingcatsoftware.bouncy.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/metadata/com.dozingcatsoftware.bouncy.txt b/metadata/com.dozingcatsoftware.bouncy.txt index c094b3ee4c..7ca17078b4 100644 --- a/metadata/com.dozingcatsoftware.bouncy.txt +++ b/metadata/com.dozingcatsoftware.bouncy.txt @@ -39,6 +39,22 @@ Build:1.4.2,14 cp $$libgdx$$/dist/gdx.jar libs/ && \ cp -r $$libgdx$$/dist/extensions/gdx-box2d/* libs/ +Build:1.5,15 + commit=9e2f2feacff19d0df8cf46994b236ce4994b934e + srclibs=libgdx@1.4.1 + rm=libs/* + prebuild=pushd $$libgdx$$ && \ + rm gdx/jni/build.xml && \ + sed -i 's@@\n\n\n@g' extensions/gdx-box2d/gdx-box2d/jni/build.xml && \ + sed -i 's@@@g' extensions/gdx-box2d/gdx-box2d/jni/build.xml && \ + popd + build=export NDK_HOME=$$NDK$$ && \ + pushd $$libgdx$$ && \ + ant -f build.xml -Dbuild-natives=true gdx-box2d && \ + popd && \ + cp $$libgdx$$/dist/gdx.jar libs/ && \ + cp -r $$libgdx$$/dist/extensions/gdx-box2d/* libs/ + Maintainer Notes: sed replaces needed as libgdx upstream currently don't provide a way to only build the android native bins only. If more apps start to depend on libgdx consider to create a feature request to change this.