Merge branch 'vector_pinball' of https://gitlab.com/Rancor/fdroiddata
This commit is contained in:
commit
435f0852d7
|
@ -27,7 +27,16 @@ Build:1.4.2,14
|
|||
commit=5bb3c7d64ef3bcc8e8f7d97f55353d6b6a7b68cd
|
||||
srclibs=libgdx@1.4.1
|
||||
rm=libs/*
|
||||
disable=todo libgdx
|
||||
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:
|
||||
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.
|
||||
.
|
||||
|
||||
Auto Update Mode:None
|
||||
Update Check Mode:RepoManifest
|
||||
|
|
Loading…
Reference in a new issue