From f40468061444dda320b9b8a0dead892825c019d0 Mon Sep 17 00:00:00 2001 From: Boris Kraut Date: Mon, 31 Oct 2016 13:46:05 +0100 Subject: [PATCH] Update Vector Pinball to 1.5.6 (21) --- 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 2a56a6f9dc..2ab6d7b82d 100644 --- a/metadata/com.dozingcatsoftware.bouncy.txt +++ b/metadata/com.dozingcatsoftware.bouncy.txt @@ -103,6 +103,22 @@ Build:1.5.5,20 cp $$libgdx$$/dist/gdx.jar libs/ && \ cp -r $$libgdx$$/dist/extensions/gdx-box2d/* libs/ +Build:1.5.6,21 + commit=3f28de69a6b182287fb52f3cb6cdd4322fbeeee1 + 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.