2015-11-23 10:43:06 +01:00
|
|
|
from build.project import Project
|
|
|
|
from build.zlib import ZlibProject
|
|
|
|
from build.autotools import AutotoolsProject
|
|
|
|
from build.ffmpeg import FfmpegProject
|
|
|
|
from build.boost import BoostProject
|
|
|
|
|
|
|
|
libogg = AutotoolsProject(
|
|
|
|
'http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz',
|
|
|
|
'5c3a34309d8b98640827e5d0991a4015',
|
|
|
|
'lib/libogg.a',
|
|
|
|
['--disable-shared', '--enable-static'],
|
|
|
|
)
|
|
|
|
|
|
|
|
libvorbis = AutotoolsProject(
|
|
|
|
'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz',
|
|
|
|
'28cb28097c07a735d6af56e598e1c90f',
|
|
|
|
'lib/libvorbis.a',
|
|
|
|
['--disable-shared', '--enable-static'],
|
|
|
|
)
|
|
|
|
|
|
|
|
opus = AutotoolsProject(
|
2017-01-27 08:47:58 +01:00
|
|
|
'http://downloads.xiph.org/releases/opus/opus-1.1.4.tar.gz',
|
|
|
|
'9122b6b380081dd2665189f97bfd777f04f92dc3ab6698eea1dbb27ad59d8692',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libopus.a',
|
|
|
|
['--disable-shared', '--enable-static'],
|
|
|
|
)
|
|
|
|
|
|
|
|
flac = AutotoolsProject(
|
2017-01-03 15:04:07 +01:00
|
|
|
'http://downloads.xiph.org/releases/flac/flac-1.3.2.tar.xz',
|
|
|
|
'91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libFLAC.a',
|
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
|
|
|
'--disable-xmms-plugin', '--disable-cpplibs',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
zlib = ZlibProject(
|
|
|
|
'http://zlib.net/zlib-1.2.8.tar.xz',
|
|
|
|
'28f1205d8dd2001f26fec1e8c2cebe37',
|
|
|
|
'lib/libz.a',
|
|
|
|
)
|
|
|
|
|
|
|
|
libid3tag = AutotoolsProject(
|
|
|
|
'ftp://ftp.mars.org/pub/mpeg/libid3tag-0.15.1b.tar.gz',
|
|
|
|
'e5808ad997ba32c498803822078748c3',
|
|
|
|
'lib/libid3tag.a',
|
|
|
|
['--disable-shared', '--enable-static'],
|
|
|
|
autogen=True,
|
|
|
|
)
|
|
|
|
|
|
|
|
libmad = AutotoolsProject(
|
|
|
|
'ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz',
|
|
|
|
'1be543bc30c56fb6bea1d7bf6a64e66c',
|
|
|
|
'lib/libmad.a',
|
|
|
|
['--disable-shared', '--enable-static'],
|
|
|
|
autogen=True,
|
|
|
|
)
|
|
|
|
|
|
|
|
ffmpeg = FfmpegProject(
|
2016-12-29 21:14:16 +01:00
|
|
|
'http://ffmpeg.org/releases/ffmpeg-3.2.2.tar.xz',
|
|
|
|
'3f01bd1fe1a17a277f8c84869e5d9192b4b978cb660872aa2b54c3cc8a2fedfc',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libavcodec.a',
|
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
|
|
|
'--enable-gpl',
|
|
|
|
'--enable-small',
|
|
|
|
'--disable-pthreads',
|
|
|
|
'--disable-programs',
|
|
|
|
'--disable-doc',
|
|
|
|
'--disable-avdevice',
|
|
|
|
'--disable-swresample',
|
|
|
|
'--disable-swscale',
|
|
|
|
'--disable-postproc',
|
|
|
|
'--disable-avfilter',
|
|
|
|
'--disable-network',
|
|
|
|
'--disable-encoders',
|
|
|
|
'--disable-protocols',
|
|
|
|
'--disable-outdevs',
|
|
|
|
'--disable-filters',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
curl = AutotoolsProject(
|
2016-12-29 21:14:33 +01:00
|
|
|
'http://curl.haxx.se/download/curl-7.52.1.tar.lzma',
|
|
|
|
'44286d4b825936e2430fc44ad730ce899afb736a5d328cbb8b5d42462f3f2365',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libcurl.a',
|
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
|
|
|
'--disable-debug',
|
|
|
|
'--enable-http',
|
|
|
|
'--enable-ipv6',
|
|
|
|
'--disable-ftp', '--disable-file',
|
|
|
|
'--disable-ldap', '--disable-ldaps',
|
|
|
|
'--disable-rtsp', '--disable-proxy', '--disable-dict', '--disable-telnet',
|
|
|
|
'--disable-tftp', '--disable-pop3', '--disable-imap', '--disable-smtp',
|
|
|
|
'--disable-gopher',
|
|
|
|
'--disable-manual',
|
|
|
|
'--disable-threaded-resolver', '--disable-verbose', '--disable-sspi',
|
|
|
|
'--disable-crypto-auth', '--disable-ntlm-wb', '--disable-tls-srp', '--disable-cookies',
|
|
|
|
'--without-ssl', '--without-gnutls', '--without-nss', '--without-libssh2',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
boost = BoostProject(
|
2016-12-29 21:49:28 +01:00
|
|
|
'http://downloads.sourceforge.net/project/boost/boost/1.63.0/boost_1_63_0.tar.bz2',
|
|
|
|
'beae2529f759f6b3bf3f4969a19c2e9d6f0c503edcb2de4a61d1428519fcb3b0',
|
2015-11-23 10:43:06 +01:00
|
|
|
'include/boost/version.hpp',
|
|
|
|
)
|