Skip to content

Commit e918e10

Browse files
committed
Bump to SDL 2.26.0
1 parent e94d1ed commit e918e10

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

pythonforandroid/recipes/sdl2/__init__.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@
66

77

88
class LibSDL2Recipe(BootstrapNDKRecipe):
9-
# version = "2.24.0"
10-
# url = "https://github.com/libsdl-org/SDL/releases/download/release-{version}/SDL2-{version}.tar.gz"
11-
# md5sum = 'cf539ffe9e0dd6f943ac9de75fd2e56e'
12-
13-
# This hash refers to a post 2.24.0 commit, which fixes a bug in the Android
14-
# TextInput / IME
15-
url = "https://github.com/libsdl-org/SDL/archive/a905a7869f18332579ff06ba3f7f3777708a3007.zip"
9+
version = "2.26.0"
10+
url = "https://github.com/libsdl-org/SDL/releases/download/release-{version}/SDL2-{version}.tar.gz"
11+
md5sum = '35bc58cfe41b8fb6c8e6646be26fa47e'
1612

1713
dir_name = 'SDL'
1814

15+
patches = ['remove-extra-include.patch']
16+
1917
depends = ['sdl2_image', 'sdl2_mixer', 'sdl2_ttf']
2018

2119
def get_recipe_env(self, arch=None, with_flags_in_cc=True, with_python=True):
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff -Naur SDL.orig/Android.mk SDL/Android.mk
2+
--- SDL.orig/Android.mk 2022-11-22 07:41:32
3+
+++ SDL/Android.mk 2022-11-22 07:42:00
4+
@@ -12,7 +12,7 @@
5+
6+
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
7+
8+
-LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)/include
9+
+LOCAL_EXPORT_C_INCLUDES := $(LOCAL_C_INCLUDES)
10+
11+
LOCAL_SRC_FILES := \
12+
$(subst $(LOCAL_PATH)/,, \

0 commit comments

Comments
 (0)