lbry-android/p4a/pythonforandroid/recipes/sdl2_image/__init__.py
Akinwale Ariwodola 744cfaebc2 Initial commit
2017-08-13 02:24:00 +01:00

14 lines
447 B
Python

from pythonforandroid.toolchain import BootstrapNDKRecipe
from pythonforandroid.patching import is_arch
class LibSDL2Image(BootstrapNDKRecipe):
version = '2.0.1'
url = 'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-{version}.tar.gz'
dir_name = 'SDL2_image'
patches = ['toggle_jpg_png_webp.patch',
('disable_jpg.patch', is_arch('x86')),
'extra_cflags.patch']
recipe = LibSDL2Image()