Update Vector Pinball to 1.5.5 (20)
This commit is contained in:
parent
621ef4f081
commit
c0a976aefe
|
@ -87,6 +87,22 @@ Build:1.5.3,18
|
||||||
cp $$libgdx$$/dist/gdx.jar libs/ && \
|
cp $$libgdx$$/dist/gdx.jar libs/ && \
|
||||||
cp -r $$libgdx$$/dist/extensions/gdx-box2d/* libs/
|
cp -r $$libgdx$$/dist/extensions/gdx-box2d/* libs/
|
||||||
|
|
||||||
|
Build:1.5.5,20
|
||||||
|
commit=f5d29e23c49c7409c15ef10e016a5d50181db7f9
|
||||||
|
srclibs=libgdx@1.4.1
|
||||||
|
rm=libs/*
|
||||||
|
prebuild=pushd $$libgdx$$ && \
|
||||||
|
rm gdx/jni/build.xml && \
|
||||||
|
sed -i 's@<target name="compile-natives">@<target name="compile-natives">\n<ant antfile="build-android32.xml"/>\n</target>\n<target name="compile-natives-old">@g' extensions/gdx-box2d/gdx-box2d/jni/build.xml && \
|
||||||
|
sed -i 's@<target name="all" depends="compile-natives,pack-natives"/>@<target name="all" depends="compile-natives"/>@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:
|
Maintainer Notes:
|
||||||
sed replaces needed as libgdx upstream currently don't provide a way to only build the android native bins only.
|
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.
|
If more apps start to depend on libgdx consider to create a feature request to change this.
|
||||||
|
|
Loading…
Reference in a new issue