File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
pythonforandroid/recipes/vispy Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
8
8
class VispyRecipe (PythonRecipe ):
9
- version = 'master '
10
- url = 'https://github.com/vispy/vispy/archive/{version}.zip '
9
+ version = '0.4.0 '
10
+ url = 'https://github.com/vispy/vispy/archive/v {version}.tar.gz '
11
11
12
12
depends = ['python2' , 'numpy' ]
13
13
14
+ def prebuild_arch (self , arch ):
15
+ super (VispyRecipe , self ).prebuild_arch (arch )
16
+ build_dir = self .get_build_dir (arch .arch )
17
+ if exists (join (build_dir , '.patched' )):
18
+ print ('vispy already patched, skipping' )
19
+ return
20
+ self .apply_patch ('disable_freetype.patch' )
21
+ self .apply_patch ('disable_font_triage.patch' )
22
+ self .apply_patch ('use_es2.patch' )
23
+ shprint (sh .touch , join (build_dir , '.patched' ))
24
+
14
25
recipe = VispyRecipe ()
You can’t perform that action at this time.
0 commit comments