Skip to content

Commit d197e29

Browse files
committed
Switched SDL2_image to use its master branch
1 parent b3e7998 commit d197e29

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

pythonforandroid/archs.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ def get_env(self, with_flags_in_cc=True):
6363
if self.ctx.ndk == 'crystax':
6464
env['LDFLAGS'] += ' -L{}/sources/crystax/libs/{} -lcrystax'.format(self.ctx.ndk_dir, self.arch)
6565

66-
# Pass the ndk platform include dir to Android.mk files if necessary
67-
env['NDK_PLATFORM_INCLUDE_DIR'] = join(self.ctx.ndk_platform, 'usr', 'include')
68-
6966
py_platform = sys.platform
7067
if py_platform in ['linux2', 'linux3']:
7168
py_platform = 'linux'

pythonforandroid/recipes/sdl2_image/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
class LibSDL2Image(BootstrapNDKRecipe):
66
version = '2.0.1'
7-
url = 'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-{version}.tar.gz'
7+
# url = 'https://www.libsdl.org/projects/SDL_image/release/SDL2_image-{version}.tar.gz'
8+
url = 'https://hg.libsdl.org/SDL_image/archive/tip.tar.gz'
89
dir_name = 'SDL2_image'
910

1011
patches = ['toggle_jpg_png_webp.patch',
1112
('disable_jpg.patch', is_arch('x86')),
12-
'extra_cflags.patch',
13-
'add_ndk_platform_include_dir.patch']
13+
'extra_cflags.patch']
1414

1515
recipe = LibSDL2Image()

0 commit comments

Comments
 (0)