kivy-ios/build_kivy.sh

29 lines
583 B
Bash
Raw Normal View History

#!/bin/bash
2011-12-03 00:06:37 +01:00
. environment.sh
2011-12-06 16:02:21 +01:00
if [ ! -d kivy ] ; then
2011-12-16 11:08:56 +01:00
try git clone https://github.com/kivy/kivy
try cd kivy
try git checkout ios-support
try cd ..
fi
2011-12-06 16:02:21 +01:00
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
2011-12-05 10:09:35 +01:00
# FIXME this part is build/cpu dependent :/
2011-12-06 10:49:14 +01:00
bd=build/lib.macosx-*/kivy
try $KIVYIOSROOT/biglink $BUILDROOT/lib/libkivy.a $bd $bd/graphics $bd/core/window $bd/core/text $bd/core/image
deduplicate $BUILDROOT/lib/libkivy.a