kivy-ios/kivy_ios/recipes/cymunk/__init__.py

25 lines
560 B
Python
Raw Normal View History

2018-05-23 18:25:52 +02:00
"""
Author: Lawrence Du, Lukasz Mach
E-mail: larrydu88@gmail.com, maho@pagema.net
2018-05-23 18:25:52 +02:00
"""
from kivy_ios.toolchain import CythonRecipe
class CymunkRecipe(CythonRecipe):
version = 'master'
url = 'https://github.com/kivy/cymunk/archive/{version}.zip'
name = 'cymunk'
pre_build_ext = True
library = 'libcymunk.a'
depends = ['python']
def get_recipe_env(self, arch):
ret = super(CymunkRecipe, self).get_recipe_env(arch)
ret['CFLAGS'] += ' -Wno-implicit-function-declaration'
return ret
recipe = CymunkRecipe()