File tree 2 files changed +49
-13
lines changed 2 files changed +49
-13
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- VERSION_kivent=1 .0.0
4
- URL_kivent =https://github.com/Kovak /KivEnt/archive/master.zip
5
- MD5_kivent =
6
- DEPS_kivent =(python cymunk kivy)
7
- BUILD_kivent =$BUILD_PATH /kivent /master/kivent/
8
- RECIPE_kivent =$RECIPES_PATH /kivent
9
-
10
- function prebuild_kivent () {
3
+ VERSION_kivent_core=2 .0.0
4
+ URL_kivent_core =https://github.com/kivy /KivEnt/archive/master.zip
5
+ MD5_kivent_core =
6
+ DEPS_kivent_core =(python kivy)
7
+ BUILD_kivent_core =$BUILD_PATH /kivent_core /master/modules/core
8
+ RECIPE_kivent_core =$RECIPES_PATH /kivent_core
9
+
10
+ function prebuild_kivent_core () {
11
11
true
12
12
}
13
13
14
- function build_kivent () {
15
- cd $BUILD_kivent
14
+ function build_kivent_core () {
15
+ cd $BUILD_kivent_core
16
16
17
17
push_arm
18
18
19
19
export LDSHARED=" $LIBLINK "
20
20
export PYTHONPATH=$BUILD_kivy /:$PYTHONPATH
21
- export PYTHONPATH=$BUILD_cymunk /cymunk/python:$PYTHONPATH
22
- try find . -iname ' __init__.pyx' -exec $CYTHON {} \;
21
+ try find . -iname ' *.pyx' -exec $CYTHON {} \;
23
22
try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
24
23
try find build/lib.* -name " *.o" -exec $STRIP {} \;
25
24
@@ -30,6 +29,6 @@ function build_kivent() {
30
29
pop_arm
31
30
}
32
31
33
- function postbuild_kivent () {
32
+ function postbuild_kivent_core () {
34
33
true
35
34
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ VERSION_kivent_cymunk=2.0.0
4
+ URL_kivent_cymunk=https://github.com/kivy/KivEnt/archive/master.zip
5
+ MD5_kivent_cymunk=
6
+ DEPS_kivent_cymunk=(python cymunk kivy kivent_core)
7
+ BUILD_kivent_cymunk=$BUILD_PATH /kivent_cymunk/master/modules/cymunk
8
+ RECIPE_kivent_cymunk=$RECIPES_PATH /kivent_cymunk
9
+
10
+ function prebuild_kivent_cymunk() {
11
+ true
12
+ }
13
+
14
+ function build_kivent_cymunk() {
15
+ cd $BUILD_kivent_cymunk
16
+
17
+ push_arm
18
+
19
+ export LDSHARED=" $LIBLINK "
20
+ export PYTHONPATH=$BUILD_kivy /:$PYTHONPATH
21
+ export PYTHONPATH=$BUILD_cymunk /:$PYTHONPATH
22
+ export PYTHONPATH=$BUILD_kivent_core /:$PYTHONPATH
23
+ try find . -iname ' physics.pyx' -exec $CYTHON {} \;
24
+ try find . -iname ' interaction.pyx' -exec $CYTHON {} \;
25
+ try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
26
+ try find build/lib.* -name " *.o" -exec $STRIP {} \;
27
+
28
+ export PYTHONPATH=$BUILD_hostpython /Lib/site-packages
29
+ try $BUILD_hostpython /hostpython setup.py install -O2 --root=$BUILD_PATH /python-install --install-lib=lib/python2.7/site-packages
30
+
31
+ unset LDSHARED
32
+ pop_arm
33
+ }
34
+
35
+ function postbuild_kivent_cymunk() {
36
+ true
37
+ }
You can’t perform that action at this time.
0 commit comments