Skip to content

Commit 0a6a6c8

Browse files
committed
Small changes to vispy and python2 recipes
1 parent 418f14f commit 0a6a6c8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pythonforandroid/recipes/python2/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ def prebuild_armeabi(self):
3030
self.apply_patch(join('patches', 'fix-remove-corefoundation.patch'))
3131
self.apply_patch(join('patches', 'fix-dynamic-lookup.patch'))
3232
self.apply_patch(join('patches', 'fix-dlfcn.patch'))
33-
self.apply_patch(join('patches', 'ctypes-find-library.patch'))
33+
# self.apply_patch(join('patches', 'ctypes-find-library.patch'))
34+
self.apply_patch(join('patches', 'ctypes-find-library-updated.patch'))
3435

3536
if uname()[0] == 'Linux':
3637
self.apply_patch(join('patches', 'fix-configure-darwin.patch'))

pythonforandroid/recipes/vispy/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
class VispyRecipe(PythonRecipe):
99
version = '0.4.0'
1010
url = 'https://github.com/vispy/vispy/archive/v{version}.tar.gz'
11+
# version = 'campagnola-scenegraph-update'
12+
# url = 'https://github.com/campagnola/vispy/archive/scenegraph-update.zip'
1113

12-
depends = ['python2', 'numpy']
14+
depends = ['python2', 'numpy', 'pysdl2']
1315

1416
def prebuild_arch(self, arch):
1517
super(VispyRecipe, self).prebuild_arch(arch)
@@ -20,6 +22,7 @@ def prebuild_arch(self, arch):
2022
self.apply_patch('disable_freetype.patch')
2123
self.apply_patch('disable_font_triage.patch')
2224
self.apply_patch('use_es2.patch')
25+
self.apply_patch('remove_ati_check.patch')
2326
shprint(sh.touch, join(build_dir, '.patched'))
2427

2528
recipe = VispyRecipe()

0 commit comments

Comments
 (0)