File tree Expand file tree Collapse file tree 5 files changed +28
-79
lines changed
Expand file tree Collapse file tree 5 files changed +28
-79
lines changed Original file line number Diff line number Diff line change 66
77
88class KivyRecipe (CythonRecipe ):
9- # post kivy==1.10.1 with SDL 2.0.9 fixes
10- version = 'b47f669'
9+ version = 'master'
1110 url = 'https://github.com/kivy/kivy/archive/{version}.zip'
1211 name = 'kivy'
1312
Original file line number Diff line number Diff line change 33
44
55class LibSDL2Image (BootstrapNDKRecipe ):
6- version = '2.0.1 '
6+ version = '2.0.4 '
77 url = 'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-{version}.tar.gz'
88 dir_name = 'SDL2_image'
99
1010 patches = ['toggle_jpg_png_webp.patch' ,
1111 ('disable_jpg.patch' , is_arch ('x86' )),
1212 'extra_cflags.patch' ,
13- 'fix_with_ndk_15_plus.patch' ]
13+ ]
1414
1515
1616recipe = LibSDL2Image ()
Original file line number Diff line number Diff line change 1- --- orig /Android.mk 2016-01-03 06:52:28 .000000000 +0100
2- +++ patch /Android.mk 2016-04-15 21:03:18.547379710 +0200
3- @@ -25,7 +25,7 @@
4- LOCAL_C_INCLUDES := $(LOCAL_PATH)
1+ --- SDL2_image-2.0.4 /Android.mk.orig 2018-10-31 15:58:52 .000000000 +0100
2+ +++ SDL2_image-2.0.4 /Android.mk 2019-02-07 21:57:29.552365123 +0100
3+ @@ -61,6 +61,8 @@ LOCAL_SRC_FILES := \
4+
55 LOCAL_CFLAGS := -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM \
6- -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV
7- - LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays
8- + LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays $(EXTRA_CFLAGS)
9-
10- LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))
11-
6+ -DLOAD_SVG - DLOAD_TGA -DLOAD_XCF -DLOAD_XPM -DLOAD_XV
7+ + LOCAL_CFLAGS += $(EXTRA_CFLAGS)
8+ +
9+ LOCAL_LDLIBS :=
10+ LOCAL_STATIC_LIBRARIES :=
11+ LOCAL_SHARED_LIBRARIES := SDL2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- --- orig /Android.mk 2016-01-03 06:52:28 .000000000 +0100
2- +++ patch /Android.mk 2016-04-15 21:14:23.906688966 +0200
3- @@ -6,19 +6,19 @@
4-
1+ --- SDL2_image-2.0.4 /Android.mk.orig 2018-10-31 15:58:52 .000000000 +0100
2+ +++ SDL2_image-2.0.4 /Android.mk 2019-02-07 23:51:51.740299680 +0100
3+ @@ -3,18 +3,18 @@ SDL_IMAGE_LOCAL_PATH := $(call my-dir)
4+
55 # Enable this if you want to support loading JPEG images
66 # The library path should be a relative path to this directory.
77- SUPPORT_JPG ?= true
88+ SUPPORT_JPG := true
9- JPG_LIBRARY_PATH := external/jpeg-9
10-
9+ JPG_LIBRARY_PATH := external/jpeg-9b
10+
1111 # Enable this if you want to support loading PNG images
1212 # The library path should be a relative path to this directory.
1313- SUPPORT_PNG ?= true
1414+ SUPPORT_PNG := true
15- PNG_LIBRARY_PATH := external/libpng-1.6.2
16-
15+ PNG_LIBRARY_PATH := external/libpng-1.6.32
16+
1717 # Enable this if you want to support loading WebP images
1818 # The library path should be a relative path to this directory.
19- #
20- # IMPORTANT: In order to enable this must have a symlink in your jni directory to external/libwebp-0.3.0.
21- - SUPPORT_WEBP ?= false
22- + SUPPORT_WEBP := false
23- WEBP_LIBRARY_PATH := external/libwebp-0.3.0
24-
25-
19+ - SUPPORT_WEBP ?= true
20+ - WEBP_LIBRARY_PATH := external/libwebp-0.6.0
21+ + SUPPORT_WEBP := true
22+ + WEBP_LIBRARY_PATH := external/libwebp-1.0.0
23+
24+
25+ # Build the library
You can’t perform that action at this time.
0 commit comments