File tree 1 file changed +4
-8
lines changed
pythonforandroid/recipes/pymunk
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
- from os .path import join
2
1
from pythonforandroid .recipe import CompiledComponentsPythonRecipe
3
2
4
3
5
4
class PymunkRecipe (CompiledComponentsPythonRecipe ):
6
5
name = "pymunk"
7
- version = '5.5.0'
8
- url = ' https://pypi.python.org/packages/source/p/pymunk/pymunk-{version}.zip'
9
- depends = [' cffi' , ' setuptools' ]
6
+ version = "6.0.0"
7
+ url = " https://pypi.python.org/packages/source/p/pymunk/pymunk-{version}.zip"
8
+ depends = [" cffi" , " setuptools" ]
10
9
call_hostpython_via_targetpython = False
11
10
12
11
def get_recipe_env (self , arch ):
13
12
env = super ().get_recipe_env (arch )
14
- env ['PYTHON_ROOT' ] = self .ctx .get_python_install_dir ()
15
- env ['LDFLAGS' ] += " -shared -llog"
16
- env ['LDFLAGS' ] += ' -L{}' .format (join (self .ctx .ndk_platform , 'usr' , 'lib' ))
17
- env ['LIBS' ] = env .get ('LIBS' , '' ) + ' -landroid'
13
+ env ["LDFLAGS" ] += " -llog"
18
14
return env
19
15
20
16
You can’t perform that action at this time.
0 commit comments