8000 added recipe for kivent · kived/python-for-android@b0633e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit b0633e1

Browse files
committed
added recipe for kivent
1 parent ec8d54b commit b0633e1

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

recipes/kivent/recipe.sh

Lines changed: 35 additions & 0 deletions
< 551D td data-grid-cell-id="diff-3122f36dfb304f8c1ca4012acc4e6b3fee69ef3cd52dd023d92ca6c147c27951-empty-29-2" data-line-anchor="diff-3122f36dfb304f8c1ca4012acc4e6b3fee69ef3cd52dd023d92ca6c147c27951R29" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionLine-bgColor, var(--diffBlob-addition-bgColor-line));padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">+
unset LDSHARED
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/bash
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() {
11+
true
12+
}
13+
14+
function build_kivent() {
15+
cd $BUILD_kivent
16+
17+
push_arm
18+
19+
export LDSHARED="$LIBLINK"
20+
export PYTHONPATH=$BUILD_kivy/:$PYTHONPATH
21+
export PYTHONPATH=$BUILD_cymunk/cymunk/python:$PYTHONPATH
22+
try find . -iname '__init__.pyx' -exec $CYTHON {} \;
23+
try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v
24+
try find build/lib.* -name "*.o" -exec $STRIP {} \;
25+
26+
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages
27+
try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
28+
29
30+
pop_arm
31+
}
32+
33+
function postbuild_kivent() {
34+
true
35+
}

0 commit comments

Comments
 (0)
0