File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
pythonforandroid/recipes/kivy Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
8
8
class KivyRecipe (CythonRecipe ):
9
- # version = 'stable'
10
- # version = 'master'
11
- version = '1.9.1'
9
+ version = 'master'
12
10
url = 'https://github.com/kivy/kivy/archive/{version}.zip'
13
11
name = 'kivy'
14
12
@@ -46,9 +44,10 @@ def get_recipe_env(self, arch):
46
44
# Set include dir for pxi files - Kivy normally handles this
47
45
# in the setup.py invocation, but we skip this
48
46
build_dir = self .get_build_dir (arch .arch )
49
- self .cython_args = ['-I{}' .format (join (build_dir , 'kivy' , 'include' ))]
47
+ if exists (join (build_dir , 'kivy' , 'include' )):
48
+ self .cython_args = ['-I{}' .format (join (build_dir , 'kivy' , 'include' ))]
50
49
51
- env ['CFLAGS' ] += ' -I{}' .format (join (build_dir , 'kivy' , 'include' ))
50
+ env ['CFLAGS' ] += ' -I{}' .format (join (build_dir , 'kivy' , 'include' ))
52
51
53
52
return env
54
53
You can’t perform that action at this time.
0 commit comments