kivy-ios/build_kivy.sh
Mathieu Virbel edcdf989e3 update main.m to use pyo instead of py, avoid kivy logging, config, and use sdl for audio.
+ add sdl_mixer/libogg/libtremor
+ put everything in release state, with optimisation etc.
2012-02-25 15:51:34 +01:00

28 lines
598 B
Bash
Executable file

#!/bin/bash
. environment.sh
if [ ! -d kivy ] ; then
try git clone https://github.com/kivy/kivy
try cd kivy
try git checkout ios-support
try cd ..
fi
if [ "X$1" = "X-f" ] ; then
try cd kivy
try git clean -dxf
try git fetch
try git checkout ios-support
try cd ..
fi
cd kivy
export LDSHARED="$KIVYIOSROOT/liblink"
export CFLAGS="$ARM_CFLAGS"
make ios
# FIXME this part is build/cpu dependent :/
bd=build/lib.macosx-*/kivy
try $KIVYIOSROOT/biglink $BUILDROOT/lib/libkivy.a $bd $bd/graphics $bd/core/window $bd/core/text $bd/core/image $bd/core/audio
deduplicate $BUILDROOT/lib/libkivy.a