Skip to content

Commit cee5388

Browse files
committed
update sdl2_mixer to 2.0.1
1 parent 1ac0abc commit cee5388

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

pythonforandroid/recipes/sdl2_mixer/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33

44
class LibSDL2Mixer(BootstrapNDKRecipe):
5-
version = '2.0.0'
5+
version = '2.0.1'
66
url = 'https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-{version}.tar.gz'
77
dir_name = 'SDL2_mixer'
88

9-
patches = ['disable_modplug_mikmod_smpeg.patch']
10-
9+
patches = ['toggle_modplug_mikmod_smpeg_ogg.patch']
1110

1211
recipe = LibSDL2Mixer()
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
1-
diff --git a/Android.mk b/Android.mk
2-
index 81c94b5..357500c 100644
3-
--- a/Android.mk
4-
+++ b/Android.mk
5-
@@ -6,17 +6,17 @@ LOCAL_MODULE := SDL2_mixer
1+
--- orig/Android.mk 2016-01-03 07:15:57.000000000 +0100
2+
+++ patch/Android.mk 2016-04-15 21:28:55.169697882 +0200
3+
@@ -6,22 +6,22 @@
64

75
# Enable this if you want to support loading MOD music via modplug
86
# The library path should be a relative path to this directory.
9-
-SUPPORT_MOD_MODPLUG := true
7+
-SUPPORT_MOD_MODPLUG ?= true
108
+SUPPORT_MOD_MODPLUG := false
119
MODPLUG_LIBRARY_PATH := external/libmodplug-0.8.8.4
1210

1311
# Enable this if you want to support loading MOD music via mikmod
1412
# The library path should be a relative path to this directory.
15-
-SUPPORT_MOD_MIKMOD := true
13+
-SUPPORT_MOD_MIKMOD ?= true
1614
+SUPPORT_MOD_MIKMOD := false
1715
MIKMOD_LIBRARY_PATH := external/libmikmod-3.1.12
1816

1917
# Enable this if you want to support loading MP3 music via SMPEG
2018
# The library path should be a relative path to this directory.
21-
-SUPPORT_MP3_SMPEG := true
19+
-SUPPORT_MP3_SMPEG ?= true
2220
+SUPPORT_MP3_SMPEG := false
2321
SMPEG_LIBRARY_PATH := external/smpeg2-2.0.0
2422

2523
# Enable this if you want to support loading OGG Vorbis music via Tremor
24+
# The library path should be a relative path to this directory.
25+
-SUPPORT_OGG ?= true
26+
+SUPPORT_OGG := true
27+
OGG_LIBRARY_PATH := external/libogg-1.3.1
28+
VORBIS_LIBRARY_PATH := external/libvorbisidec-1.2.1
29+

0 commit comments

Comments
 (0)