Skip to content

Commit 5cac4f6

Browse files
committed
Removed Kivy sdl2 patch (it's in kivy master now)
1 parent 6f581a9 commit 5cac4f6

File tree

2 files changed

+0
-119
lines changed

2 files changed

+0
-119
lines changed

pythonforandroid/recipes/kivy/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@ class KivyRecipe(CythonRecipe):
1313

1414
depends = [('sdl2', 'pygame'), 'pyjnius']
1515

16-
def prebuild_arch(self, arch):
17-
super(KivyRecipe, self).prebuild_arch(arch)
18-
if 'sdl2' in self.ctx.recipe_build_order:
19-
build_dir = self.get_build_dir(arch.arch)
20-
if exists(join(build_dir, '.patched')):
21-
print('kivysdl2 already patched, skipping')
22-
return
23-
self.apply_patch('android_sdl2_compat.patch')
24-
shprint(sh.touch, join(build_dir, '.patched'))
25-
2616
def get_recipe_env(self, arch):
2717
env = super(KivyRecipe, self).get_recipe_env(arch)
2818
if 'sdl2' in self.ctx.recipe_build_order:

pythonforandroid/recipes/kivy/android_sdl2_compat.patch

Lines changed: 0 additions & 109 deletions
This file was deleted.

0 commit comments

Comments
 (0)