File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
pythonforandroid/recipes/sdl2_image Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ def prebuild_arch(self, arch):
1414 info ('SDL2_image already patched, skipping' )
1515 return
1616 self .apply_patch ('disable_webp.patch' , arch .arch )
17+ self .apply_patch ('disable_jpg.patch' , arch .arch )
1718 shprint (sh .touch , join (build_dir , '.patched' ))
1819
1920recipe = LibSDL2Image ()
Original file line number Diff line number Diff line change 1+ diff --git a/Android.mk b/Android.mk
2+ index 31e2118..8cd2cb9 100644
3+ --- a/Android.mk
4+ +++ b/Android.mk
5+ @@ -6,7 +6,7 @@ LOCAL_MODULE := SDL2_image
6+
7+ # Enable this if you want to support loading JPEG images
8+ # The library path should be a relative path to this directory.
9+ - SUPPORT_JPG := true
10+ + SUPPORT_JPG := false
11+ JPG_LIBRARY_PATH := external/jpeg-9
12+
13+ # Enable this if you want to support loading PNG images
You can’t perform that action at this time.
0 commit comments