Skip to content

Commit

Permalink
Update sdl2 deps to reflect the same targeted in kivy/kivy
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Dec 2, 2023
1 parent 436d5a9 commit 6394b78
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 34 deletions.
4 changes: 1 addition & 3 deletions pythonforandroid/recipes/sdl2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@


class LibSDL2Recipe(BootstrapNDKRecipe):
version = "2.26.1"
version = "2.28.5"
url = "https://github.com/libsdl-org/SDL/releases/download/release-{version}/SDL2-{version}.tar.gz"
md5sum = 'fba211fe2c67609df6fa3cf55d3c74dc'

dir_name = 'SDL'

depends = ['sdl2_image', 'sdl2_mixer', 'sdl2_ttf']

patches = ['sdl-orientation-pr-6984.diff']

def get_recipe_env(self, arch=None, with_flags_in_cc=True, with_python=True):
env = super().get_recipe_env(
arch=arch, with_flags_in_cc=with_flags_in_cc, with_python=with_python)
Expand Down
27 changes: 0 additions & 27 deletions pythonforandroid/recipes/sdl2/sdl-orientation-pr-6984.diff

This file was deleted.

4 changes: 2 additions & 2 deletions pythonforandroid/recipes/sdl2_image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@


class LibSDL2Image(BootstrapNDKRecipe):
version = '2.6.2'
url = 'https://github.com/libsdl-org/SDL_image/releases/download/release-{version}/SDL2_image-{version}.tar.gz'
version = '2.7.1'
url = 'https://github.com/libsdl-org/SDL_image/releases/download/prerelease-{version}/SDL2_image-{version}.tar.gz'
dir_name = 'SDL2_image'

patches = ['enable-webp.patch']
Expand Down
2 changes: 1 addition & 1 deletion pythonforandroid/recipes/sdl2_mixer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class LibSDL2Mixer(BootstrapNDKRecipe):
version = '2.6.2'
version = '2.6.3'
url = 'https://github.com/libsdl-org/SDL_mixer/releases/download/release-{version}/SDL2_mixer-{version}.tar.gz'
dir_name = 'SDL2_mixer'

Expand Down
2 changes: 1 addition & 1 deletion pythonforandroid/recipes/sdl2_ttf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


class LibSDL2TTF(BootstrapNDKRecipe):
version = '2.20.1'
version = '2.20.2'
url = 'https://github.com/libsdl-org/SDL_ttf/releases/download/release-{version}/SDL2_ttf-{version}.tar.gz'
dir_name = 'SDL2_ttf'

Expand Down

0 comments on commit 6394b78

Please sign in to comment.