diff --git a/metadata/com.dozingcatsoftware.bouncy.txt b/metadata/com.dozingcatsoftware.bouncy.txt index e2ea608941..c1e0644db5 100644 --- a/metadata/com.dozingcatsoftware.bouncy.txt +++ b/metadata/com.dozingcatsoftware.bouncy.txt @@ -55,6 +55,23 @@ Build:1.5,15 cp $$libgdx$$/dist/gdx.jar libs/ && \ cp -r $$libgdx$$/dist/extensions/gdx-box2d/* libs/ +Build:1.5.1,16 + disable=untested + commit=18f2c77e4bd17ca6600e629ceb44cd2793842df1 + 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.