File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
pythonforandroid/recipes/ffpyplayer Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1- from pythonforandroid .recipe import CythonRecipe
2- from pythonforandroid .toolchain import Recipe
1+ from pythonforandroid .recipe import PyProjectRecipe , Recipe
32from os .path import join
43
54
6- class FFPyPlayerRecipe (CythonRecipe ):
7- version = 'v4.3.2 '
5+ class FFPyPlayerRecipe (PyProjectRecipe ):
6+ version = 'v4.5.1 '
87 url = 'https://github.com/matham/ffpyplayer/archive/{version}.zip'
98 depends = ['python3' , 'sdl2' , 'ffmpeg' ]
9+ patches = ["setup.py.patch" ]
1010 opt_depends = ['openssl' , 'ffpyplayer_codecs' ]
1111
1212 def get_recipe_env (self , arch , with_flags_in_cc = True ):
Original file line number Diff line number Diff line change 1+ --- ffpyplayer/setup.py 2024-06-02 11:10:49.691183467 +0530
2+ +++ ffpyplayer.mod/setup.py 2024-06-02 11:20:16.220966873 +0530
3+ @@ -27,12 +27,6 @@
4+ # This sets whether or not Cython gets added to setup_requires.
5+ declare_cython = False
6+
7+ - if platform in ('ios', 'android'):
8+ - # NEVER use or declare cython on these platforms
9+ - print('Not using cython on %s' % platform)
10+ - can_use_cython = False
11+ - else:
12+ - declare_cython = True
13+
14+ src_path = build_path = dirname(__file__)
15+ print(f'Source/build path: {src_path}')
You can’t perform that action at this time.
0 commit comments