{android,win32}/build.py: enable the GME decoder plugin

Closes https://github.com/MusicPlayerDaemon/MPD/issues/891
This commit is contained in:
Max Kellermann 2020-06-10 20:58:31 +02:00
parent aafc9ce75b
commit 7583cfe9b7
4 changed files with 16 additions and 2 deletions

4
NEWS
View File

@ -10,10 +10,10 @@ ver 0.21.24 (not yet released)
* player
- don't restart current song if seeking beyond end
* Android
- enable the decoder plugins ModPlug and WildMidi
- enable the decoder plugins GME, ModPlug and WildMidi
- fix build failure with Android NDK r21
* Windows
- enable the decoder plugins ModPlug and WildMidi
- enable the decoder plugins GME, ModPlug and WildMidi
- work around Meson bug breaking the Windows build with GCC 10
* fix unit test failure

View File

@ -170,6 +170,7 @@ thirdparty_libs = [
libid3tag,
libmodplug,
wildmidi,
gme,
ffmpeg,
curl,
libexpat,

View File

@ -135,6 +135,18 @@ wildmidi = CmakeProject(
version='0.4.3',
)
gme = CmakeProject(
'https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.3.tar.xz',
'aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d',
'lib/libgme.a',
[
'-DBUILD_SHARED_LIBS=OFF',
'-DENABLE_UBSAN=OFF',
'-DZLIB_INCLUDE_DIR=OFF',
'-DSDL2_DIR=OFF',
],
)
ffmpeg = FfmpegProject(
'http://ffmpeg.org/releases/ffmpeg-4.2.3.tar.xz',
'9df6c90aed1337634c1fb026fb01c154c29c82a64ea71291ff2da9aacb9aad31',

View File

@ -98,6 +98,7 @@ thirdparty_libs = [
liblame,
libmodplug,
wildmidi,
gme,
ffmpeg,
curl,
libexpat,