File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ PRIORITY_kivy=30
4
+ VERSION_kivy=
5
+ URL_kivy=
6
+ DEPS_kivy=(pygame)
7
+ MD5_kivy=
8
+ BUILD_kivy=$BUILD_PATH /kivy/kivy
9
+ RECIPE_kivy=$RECIPES_PATH /kivy
10
+
11
+ function prebuild_kivy() {
12
+ cd $BUILD_PATH /kivy
13
+
14
+ if [ ! -d kivy ]; then
15
+ # initial clone
16
+ try git clone https://github.com/kivy/kivy
17
+ cd kivy
18
+ try git checkout android-support
19
+ fi
20
+ }
21
+
22
+ function build_kivy() {
23
+ cd $BUILD_kivy
24
+
25
+ push_arm
26
+
27
+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH "
28
+
29
+ # fake try to be able to cythonize generated files
30
+ $BUILD_PATH /python-install/bin/python.host setup.py build_ext
31
+ try find . -iname ' *.pyx' -exec cython {} \;
32
+ try $BUILD_PATH /python-install/bin/python.host setup.py build_ext
33
+ try find build/lib.* -name " *.o" -exec $STRIP {} \;
34
+ try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
35
+
36
+ pop_arm
37
+ }
38
+
39
+ function postbuild_kivy() {
40
+ true
41
+ }
You can’t perform that action at this time.
0 commit comments