File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_pyjnius=
4+ URL_pyjnius=https://github.com/kivy/pyjnius/zipball/master/pyjnius-master.zip
5+ DEPS_pyjnius=(pygame)
6+ MD5_pyjnius=
7+ BUILD_pyjnius=$BUILD_PATH /pyjnius/$( get_directory $URL_pyjnius )
8+ RECIPE_pyjnius=$RECIPES_PATH /pyjnius
9+
10+ function prebuild_pyjnius() {
11+ true
12+ }
13+
14+ function build_pyjnius() {
15+ if [ -d " $BUILD_PATH /python-install/lib/python2.7/site-packages/jnius" ]; then
16+ # return
17+ true
18+ fi
19+
20+ cd $BUILD_pyjnius
21+
22+ push_arm
23+
24+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH "
25+ export LDSHARED=" $LIBLINK "
26+
27+ # fake try to be able to cythonize generated files
28+ $BUILD_PATH /python-install/bin/python.host setup.py build_ext
29+ try find . -iname ' *.pyx' -exec cython {} \;
30+ try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
31+ try find build/lib.* -name " *.o" -exec $STRIP {} \;
32+ try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
33+
34+ unset LDSHARED
35+ pop_arm
36+ }
37+
38+ function postbuild_pyjnius() {
39+ true
40+ }
You can’t perform that action at this time.
0 commit comments