From f633e6ca49381adb5cd94fa0114b062ea58c1c94 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 19 Jul 2017 20:26:11 +0200 Subject: [PATCH] python/build/libs: add LAME Enable it in the Windows build script, closes #78. LAME currently doesn't support Android: checking host system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not recognized --- python/build/libs.py | 11 +++++++++++ win32/build.py | 1 + 2 files changed, 12 insertions(+) diff --git a/python/build/libs.py b/python/build/libs.py index bdcfeb3d3..1bc22639e 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -57,6 +57,17 @@ libmad = AutotoolsProject( autogen=True, ) +liblame = AutotoolsProject( + 'http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz', + '24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff', + 'lib/libmp3lame.a', + [ + '--disable-shared', '--enable-static', + '--disable-gtktest', '--disable-analyzer-hooks', + '--disable-decoder', '--disable-frontend', + ], +) + ffmpeg = FfmpegProject( 'http://ffmpeg.org/releases/ffmpeg-3.3.2.tar.xz', '1998de1ab32616cbf2ff86efc3f1f26e76805ec5dc51e24c041c79edd8262785', diff --git a/win32/build.py b/win32/build.py index 037d8088e..c6dd7005e 100755 --- a/win32/build.py +++ b/win32/build.py @@ -76,6 +76,7 @@ thirdparty_libs = [ flac, zlib, libid3tag, + liblame, ffmpeg, curl, boost,