Revert "python/build/libs.py: remove flac, switch to Meson wrap"

This reverts commit 6ed4aff4d3.  The
Meson wrap is broken on non-x86, because it unconditionally includes
<cpuid.h> which is an x86 only header.
This commit is contained in:
Max Kellermann
2021-10-07 13:26:39 +02:00
parent acc1bd6297
commit 45f3dd8b7a
7 changed files with 15 additions and 19 deletions
android
meson.build
python/build
src/lib/xiph
subprojects
win32

@ -42,6 +42,18 @@ opus = AutotoolsProject(
cppflags='-DOPUS_EXPORT=',
)
flac = AutotoolsProject(
'http://downloads.xiph.org/releases/flac/flac-1.3.3.tar.xz',
'213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748',
'lib/libFLAC.a',
[
'--disable-shared', '--enable-static',
'--disable-xmms-plugin', '--disable-cpplibs',
'--disable-doxygen-docs',
],
subdirs=['include', 'src/libFLAC'],
)
zlib = ZlibProject(
'http://zlib.net/zlib-1.2.11.tar.xz',
'4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066',