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