File tree 5 files changed +29
-79
lines changed 5 files changed +29
-79
lines changed Original file line number Diff line number Diff line change 6
6
7
7
8
8
class KivyRecipe (CythonRecipe ):
9
- # post kivy==1.10.1 with SDL 2.0.9 fixes
10
- version = 'b47f669 '
9
+ # post kivy==1.10.1, `fixes SDL2 image loading (jpg)`
10
+ version = 'a95d67f '
11
11
url = 'https://github.com/kivy/kivy/archive/{version}.zip'
12
12
name = 'kivy'
13
13
Original file line number Diff line number Diff line change 3
3
4
4
5
5
class LibSDL2Image (BootstrapNDKRecipe ):
6
- version = '2.0.1 '
6
+ version = '2.0.4 '
7
7
url = 'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-{version}.tar.gz'
8
8
dir_name = 'SDL2_image'
9
9
10
10
patches = ['toggle_jpg_png_webp.patch' ,
11
11
('disable_jpg.patch' , is_arch ('x86' )),
12
12
'extra_cflags.patch' ,
13
- 'fix_with_ndk_15_plus.patch' ]
13
+ ]
14
14
15
15
16
16
recipe = 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
+
5
5
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
+
5
5
# Enable this if you want to support loading JPEG images
6
6
# The library path should be a relative path to this directory.
7
7
- SUPPORT_JPG ?= true
8
8
+ SUPPORT_JPG := true
9
- JPG_LIBRARY_PATH := external/jpeg-9
10
-
9
+ JPG_LIBRARY_PATH := external/jpeg-9b
10
+
11
11
# Enable this if you want to support loading PNG images
12
12
# The library path should be a relative path to this directory.
13
13
- SUPPORT_PNG ?= true
14
14
+ SUPPORT_PNG := true
15
- PNG_LIBRARY_PATH := external/libpng-1.6.2
16
-
15
+ PNG_LIBRARY_PATH := external/libpng-1.6.32
16
+
17
17
# Enable this if you want to support loading WebP images
18
18
# 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