2018-01-05 10:25:16 +01:00
|
|
|
import re
|
2018-02-09 23:02:35 +01:00
|
|
|
from os.path import abspath
|
|
|
|
|
2015-11-23 10:43:06 +01:00
|
|
|
from build.project import Project
|
|
|
|
from build.zlib import ZlibProject
|
2018-02-24 22:59:33 +01:00
|
|
|
from build.meson import MesonProject
|
2020-05-26 21:08:29 +02:00
|
|
|
from build.cmake import CmakeProject
|
2015-11-23 10:43:06 +01:00
|
|
|
from build.autotools import AutotoolsProject
|
|
|
|
from build.ffmpeg import FfmpegProject
|
2021-01-21 14:13:59 +01:00
|
|
|
from build.openssl import OpenSSLProject
|
2015-11-23 10:43:06 +01:00
|
|
|
|
2018-02-24 22:59:33 +01:00
|
|
|
libmpdclient = MesonProject(
|
2022-03-14 14:29:20 +01:00
|
|
|
'https://www.musicpd.org/download/libmpdclient/2/libmpdclient-2.20.tar.xz',
|
|
|
|
'18793f68e939c3301e34d8fcadea1f7daa24143941263cecadb80126194e277d',
|
2018-02-24 22:59:33 +01:00
|
|
|
'lib/libmpdclient.a',
|
|
|
|
)
|
|
|
|
|
2023-02-23 14:25:11 +01:00
|
|
|
libsamplerate = CmakeProject(
|
|
|
|
'https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamplerate-0.2.2.tar.xz',
|
|
|
|
'97c010fc25156c33cddc272c1935afab',
|
|
|
|
'lib/libsamplerate.a',
|
|
|
|
[
|
|
|
|
'-DBUILD_SHARED_LIBS=OFF',
|
|
|
|
'-DINSTALL_DOCS=OFF',
|
|
|
|
'-DINSTALL_CMAKE_PACKAGE_MODULE=OFF',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-09-20 23:12:50 +02:00
|
|
|
libogg = CmakeProject(
|
2022-03-14 14:29:58 +01:00
|
|
|
'http://downloads.xiph.org/releases/ogg/libogg-1.3.5.tar.xz',
|
|
|
|
'c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libogg.a',
|
2018-01-05 07:27:09 +01:00
|
|
|
[
|
2021-09-20 23:12:50 +02:00
|
|
|
'-DBUILD_SHARED_LIBS=OFF',
|
|
|
|
'-DINSTALL_DOCS=OFF',
|
|
|
|
'-DINSTALL_CMAKE_PACKAGE_MODULE=OFF',
|
2018-01-05 07:27:09 +01:00
|
|
|
],
|
2015-11-23 10:43:06 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
opus = AutotoolsProject(
|
2019-09-01 12:59:17 +02:00
|
|
|
'https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz',
|
|
|
|
'65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libopus.a',
|
2018-01-05 07:27:09 +01:00
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
2018-01-19 11:32:34 +01:00
|
|
|
'--disable-doc',
|
|
|
|
'--disable-extra-programs',
|
2018-01-05 07:27:09 +01:00
|
|
|
],
|
2018-01-05 10:33:53 +01:00
|
|
|
|
|
|
|
# suppress "visibility default" from opus_defines.h
|
|
|
|
cppflags='-DOPUS_EXPORT=',
|
2015-11-23 10:43:06 +01:00
|
|
|
)
|
|
|
|
|
2021-10-07 13:26:39 +02:00
|
|
|
flac = AutotoolsProject(
|
2022-11-03 10:26:25 +01:00
|
|
|
'http://downloads.xiph.org/releases/flac/flac-1.4.2.tar.xz',
|
|
|
|
'e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4',
|
2021-10-07 13:26:39 +02:00
|
|
|
'lib/libFLAC.a',
|
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
2022-09-16 17:50:56 +02:00
|
|
|
'--disable-stack-smash-protection',
|
2021-10-07 13:26:39 +02:00
|
|
|
'--disable-xmms-plugin', '--disable-cpplibs',
|
|
|
|
'--disable-doxygen-docs',
|
2022-09-16 17:50:56 +02:00
|
|
|
'--disable-programs',
|
2021-10-07 13:26:39 +02:00
|
|
|
],
|
|
|
|
subdirs=['include', 'src/libFLAC'],
|
|
|
|
)
|
|
|
|
|
2015-11-23 10:43:06 +01:00
|
|
|
zlib = ZlibProject(
|
2022-10-14 21:53:05 +02:00
|
|
|
'http://zlib.net/zlib-1.2.13.tar.xz',
|
|
|
|
'd14c38e313afc35a9a8760dadf26042f51ea0f5d154b0630a31da0540107fb98',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libz.a',
|
|
|
|
)
|
|
|
|
|
|
|
|
libid3tag = AutotoolsProject(
|
|
|
|
'ftp://ftp.mars.org/pub/mpeg/libid3tag-0.15.1b.tar.gz',
|
|
|
|
'e5808ad997ba32c498803822078748c3',
|
|
|
|
'lib/libid3tag.a',
|
2018-01-05 07:27:09 +01:00
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
2018-01-05 07:30:09 +01:00
|
|
|
|
|
|
|
# without this, libid3tag's configure.ac ignores -O* and -f*
|
|
|
|
'--disable-debugging',
|
2018-01-05 07:27:09 +01:00
|
|
|
],
|
2015-11-23 10:43:06 +01:00
|
|
|
autogen=True,
|
2018-01-05 10:25:16 +01:00
|
|
|
|
|
|
|
edits={
|
|
|
|
# fix bug in libid3tag's configure.ac which discards all but the last optimization flag
|
|
|
|
'configure.ac': lambda data: re.sub(r'optimize="\$1"', r'optimize="$optimize $1"', data, count=1),
|
|
|
|
}
|
2015-11-23 10:43:06 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
libmad = AutotoolsProject(
|
|
|
|
'ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz',
|
|
|
|
'1be543bc30c56fb6bea1d7bf6a64e66c',
|
|
|
|
'lib/libmad.a',
|
2018-01-05 07:27:09 +01:00
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
2018-01-05 07:30:09 +01:00
|
|
|
|
|
|
|
# without this, libmad's configure.ac ignores -O* and -f*
|
|
|
|
'--disable-debugging',
|
2018-01-05 07:27:09 +01:00
|
|
|
],
|
2015-11-23 10:43:06 +01:00
|
|
|
autogen=True,
|
|
|
|
)
|
|
|
|
|
2017-07-19 20:26:11 +02:00
|
|
|
liblame = AutotoolsProject(
|
2018-01-18 22:07:28 +01:00
|
|
|
'http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz',
|
|
|
|
'ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e',
|
2017-07-19 20:26:11 +02:00
|
|
|
'lib/libmp3lame.a',
|
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
|
|
|
'--disable-gtktest', '--disable-analyzer-hooks',
|
|
|
|
'--disable-decoder', '--disable-frontend',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-05-26 21:08:29 +02:00
|
|
|
libmodplug = AutotoolsProject(
|
|
|
|
'https://downloads.sourceforge.net/modplug-xmms/libmodplug/0.8.9.0/libmodplug-0.8.9.0.tar.gz',
|
|
|
|
'457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de',
|
|
|
|
'lib/libmodplug.a',
|
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-05-10 21:36:05 +02:00
|
|
|
libopenmpt = AutotoolsProject(
|
2022-10-14 21:55:30 +02:00
|
|
|
'https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-0.6.6+release.autotools.tar.gz',
|
|
|
|
'6ddb9e26a430620944891796fefb1bbb38bd9148f6cfc558810c0d3f269876c7',
|
2021-05-10 21:36:05 +02:00
|
|
|
'lib/libopenmpt.a',
|
|
|
|
[
|
2021-11-04 08:23:24 +01:00
|
|
|
'--disable-shared', '--enable-static',
|
2021-11-04 14:53:02 +01:00
|
|
|
'--disable-openmpt123',
|
2022-10-14 21:55:30 +02:00
|
|
|
'--disable-examples',
|
|
|
|
'--disable-tests',
|
|
|
|
'--disable-doxygen-doc',
|
2021-11-04 08:23:24 +01:00
|
|
|
'--without-mpg123', '--without-ogg', '--without-vorbis', '--without-vorbisfile',
|
|
|
|
'--without-portaudio', '--without-portaudiocpp', '--without-sndfile',
|
2022-10-14 21:55:30 +02:00
|
|
|
'--without-flac',
|
2021-05-10 21:36:05 +02:00
|
|
|
],
|
2022-10-14 21:55:30 +02:00
|
|
|
base='libopenmpt-0.6.6+release.autotools',
|
2021-05-10 21:36:05 +02:00
|
|
|
)
|
|
|
|
|
2020-05-26 21:08:29 +02:00
|
|
|
wildmidi = CmakeProject(
|
2023-03-09 18:33:21 +01:00
|
|
|
'https://github.com/Mindwerks/wildmidi/releases/download/wildmidi-0.4.5/wildmidi-0.4.5.tar.gz',
|
|
|
|
'd5e7bef00a7aa47534a53d43b1265f8d3d27f6a28e7f563c1cdf02ff4fa35b99',
|
2020-05-26 21:08:29 +02:00
|
|
|
'lib/libWildMidi.a',
|
|
|
|
[
|
|
|
|
'-DBUILD_SHARED_LIBS=OFF',
|
|
|
|
'-DWANT_PLAYER=OFF',
|
|
|
|
'-DWANT_STATIC=ON',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-06-10 20:58:31 +02:00
|
|
|
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',
|
2023-05-29 20:39:09 +02:00
|
|
|
'-DCMAKE_DISABLE_FIND_PACKAGE_SDL2=ON',
|
2020-06-10 20:58:31 +02:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2015-11-23 10:43:06 +01:00
|
|
|
ffmpeg = FfmpegProject(
|
2023-03-06 07:52:59 +01:00
|
|
|
'http://ffmpeg.org/releases/ffmpeg-6.0.tar.xz',
|
|
|
|
'57be87c22d9b49c112b6d24bc67d42508660e6b718b3db89c44e47e289137082',
|
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',
|
2017-12-12 09:57:35 +01:00
|
|
|
'--disable-faan',
|
|
|
|
'--disable-pixelutils',
|
2015-11-23 10:43:06 +01:00
|
|
|
'--disable-network',
|
|
|
|
'--disable-encoders',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-hwaccels',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-muxers',
|
2015-11-23 10:43:06 +01:00
|
|
|
'--disable-protocols',
|
2017-12-12 09:57:35 +01:00
|
|
|
'--disable-devices',
|
2015-11-23 10:43:06 +01:00
|
|
|
'--disable-filters',
|
2017-12-12 09:57:35 +01:00
|
|
|
'--disable-v4l2_m2m',
|
2017-12-12 10:01:39 +01:00
|
|
|
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-sdl2',
|
2022-05-24 10:54:17 +02:00
|
|
|
'--disable-vulkan',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-xlib',
|
2022-05-24 10:54:17 +02:00
|
|
|
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-parser=bmp',
|
|
|
|
'--disable-parser=cavsvideo',
|
|
|
|
'--disable-parser=dvbsub',
|
|
|
|
'--disable-parser=dvdsub',
|
|
|
|
'--disable-parser=dvd_nav',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-parser=flac',
|
|
|
|
'--disable-parser=g729',
|
|
|
|
'--disable-parser=gsm',
|
|
|
|
'--disable-parser=h261',
|
|
|
|
'--disable-parser=h263',
|
|
|
|
'--disable-parser=h264',
|
|
|
|
'--disable-parser=hevc',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-parser=jpeg2000',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-parser=mjpeg',
|
|
|
|
'--disable-parser=mlp',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-parser=mpeg4video',
|
|
|
|
'--disable-parser=mpegvideo',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-parser=opus',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-parser=qoi',
|
|
|
|
'--disable-parser=rv30',
|
|
|
|
'--disable-parser=rv40',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-parser=vc1',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-parser=vp3',
|
|
|
|
'--disable-parser=vp8',
|
|
|
|
'--disable-parser=vp9',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-parser=png',
|
|
|
|
'--disable-parser=pnm',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-parser=webp',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-parser=xma',
|
|
|
|
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-demuxer=aqtitle',
|
|
|
|
'--disable-demuxer=ass',
|
|
|
|
'--disable-demuxer=bethsoftvid',
|
|
|
|
'--disable-demuxer=bink',
|
|
|
|
'--disable-demuxer=cavsvideo',
|
|
|
|
'--disable-demuxer=cdxl',
|
|
|
|
'--disable-demuxer=dvbsub',
|
|
|
|
'--disable-demuxer=dvbtxt',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-demuxer=h261',
|
|
|
|
'--disable-demuxer=h263',
|
|
|
|
'--disable-demuxer=h264',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-demuxer=ico',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-demuxer=image2',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-demuxer=image2pipe',
|
|
|
|
'--disable-demuxer=image_bmp_pipe',
|
|
|
|
'--disable-demuxer=image_cri_pipe',
|
|
|
|
'--disable-demuxer=image_dds_pipe',
|
|
|
|
'--disable-demuxer=image_dpx_pipe',
|
|
|
|
'--disable-demuxer=image_exr_pipe',
|
|
|
|
'--disable-demuxer=image_gem_pipe',
|
|
|
|
'--disable-demuxer=image_gif_pipe',
|
|
|
|
'--disable-demuxer=image_j2k_pipe',
|
|
|
|
'--disable-demuxer=image_jpeg_pipe',
|
|
|
|
'--disable-demuxer=image_jpegls_pipe',
|
|
|
|
'--disable-demuxer=image_jpegxl_pipe',
|
|
|
|
'--disable-demuxer=image_pam_pipe',
|
|
|
|
'--disable-demuxer=image_pbm_pipe',
|
|
|
|
'--disable-demuxer=image_pcx_pipe',
|
|
|
|
'--disable-demuxer=image_pfm_pipe',
|
|
|
|
'--disable-demuxer=image_pgm_pipe',
|
|
|
|
'--disable-demuxer=image_pgmyuv_pipe',
|
|
|
|
'--disable-demuxer=image_pgx_pipe',
|
|
|
|
'--disable-demuxer=image_phm_pipe',
|
|
|
|
'--disable-demuxer=image_photocd_pipe',
|
|
|
|
'--disable-demuxer=image_pictor_pipe',
|
|
|
|
'--disable-demuxer=image_png_pipe',
|
|
|
|
'--disable-demuxer=image_ppm_pipe',
|
|
|
|
'--disable-demuxer=image_psd_pipe',
|
|
|
|
'--disable-demuxer=image_qdraw_pipe',
|
|
|
|
'--disable-demuxer=image_qoi_pipe',
|
|
|
|
'--disable-demuxer=image_sgi_pipe',
|
|
|
|
'--disable-demuxer=image_sunrast_pipe',
|
|
|
|
'--disable-demuxer=image_svg_pipe',
|
|
|
|
'--disable-demuxer=image_tiff_pipe',
|
|
|
|
'--disable-demuxer=image_vbn_pipe',
|
|
|
|
'--disable-demuxer=image_webp_pipe',
|
|
|
|
'--disable-demuxer=image_xbm_pipe',
|
|
|
|
'--disable-demuxer=image_xpm_pipe',
|
|
|
|
'--disable-demuxer=image_xwd_pipe',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-demuxer=jacosub',
|
|
|
|
'--disable-demuxer=lrc',
|
|
|
|
'--disable-demuxer=microdvd',
|
|
|
|
'--disable-demuxer=mjpeg',
|
|
|
|
'--disable-demuxer=mjpeg_2000',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-demuxer=mpegps',
|
|
|
|
'--disable-demuxer=mpegvideo',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-demuxer=mpl2',
|
|
|
|
'--disable-demuxer=mpsub',
|
|
|
|
'--disable-demuxer=pjs',
|
|
|
|
'--disable-demuxer=rawvideo',
|
|
|
|
'--disable-demuxer=realtext',
|
|
|
|
'--disable-demuxer=sami',
|
|
|
|
'--disable-demuxer=scc',
|
|
|
|
'--disable-demuxer=srt',
|
|
|
|
'--disable-demuxer=stl',
|
|
|
|
'--disable-demuxer=subviewer',
|
|
|
|
'--disable-demuxer=subviewer1',
|
|
|
|
'--disable-demuxer=swf',
|
|
|
|
'--disable-demuxer=tedcaptions',
|
|
|
|
'--disable-demuxer=vobsub',
|
|
|
|
'--disable-demuxer=vplayer',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-demuxer=webm_dash_manifest',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-demuxer=webvtt',
|
|
|
|
'--disable-demuxer=yuv4mpegpipe',
|
2018-01-05 11:11:20 +01:00
|
|
|
|
|
|
|
# we don't need these decoders, because we have the dedicated
|
|
|
|
# libraries
|
|
|
|
'--disable-decoder=flac',
|
|
|
|
'--disable-decoder=opus',
|
|
|
|
'--disable-decoder=vorbis',
|
|
|
|
|
|
|
|
# audio codecs nobody uses
|
|
|
|
'--disable-decoder=atrac1',
|
|
|
|
'--disable-decoder=atrac3',
|
|
|
|
'--disable-decoder=atrac3al',
|
|
|
|
'--disable-decoder=atrac3p',
|
|
|
|
'--disable-decoder=atrac3pal',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=binkaudio_dct',
|
|
|
|
'--disable-decoder=binkaudio_rdft',
|
|
|
|
'--disable-decoder=bmv_audio',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=dsicinaudio',
|
|
|
|
'--disable-decoder=dvaudio',
|
|
|
|
'--disable-decoder=metasound',
|
|
|
|
'--disable-decoder=paf_audio',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=ra_144',
|
|
|
|
'--disable-decoder=ra_288',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=ralf',
|
|
|
|
'--disable-decoder=qdm2',
|
|
|
|
'--disable-decoder=qdmc',
|
|
|
|
|
|
|
|
# disable lots of image and video codecs
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=acelp_kelvin',
|
|
|
|
'--disable-decoder=agm',
|
|
|
|
'--disable-decoder=aic',
|
|
|
|
'--disable-decoder=alias_pix',
|
|
|
|
'--disable-decoder=ansi',
|
|
|
|
'--disable-decoder=apng',
|
|
|
|
'--disable-decoder=arbc',
|
|
|
|
'--disable-decoder=argo',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=ass',
|
|
|
|
'--disable-decoder=asv1',
|
|
|
|
'--disable-decoder=asv2',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=aura',
|
|
|
|
'--disable-decoder=aura2',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=avrn',
|
|
|
|
'--disable-decoder=avrp',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=avui',
|
|
|
|
'--disable-decoder=ayuv',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=bethsoftvid',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=bfi',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=bink',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=bintext',
|
|
|
|
'--disable-decoder=bitpacked',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=bmp',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=bmv_video',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=brender_pix',
|
|
|
|
'--disable-decoder=c93',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=cavs',
|
|
|
|
'--disable-decoder=ccaption',
|
|
|
|
'--disable-decoder=cdgraphics',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=cdtoons',
|
|
|
|
'--disable-decoder=cdxl',
|
|
|
|
'--disable-decoder=cfhd',
|
|
|
|
'--disable-decoder=cinepak',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=clearvideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=cljr',
|
|
|
|
'--disable-decoder=cllc',
|
|
|
|
'--disable-decoder=cpia',
|
|
|
|
'--disable-decoder=cscd',
|
|
|
|
'--disable-decoder=cyuv',
|
|
|
|
'--disable-decoder=dds',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=dirac',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=dnxhd',
|
|
|
|
'--disable-decoder=dpx',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=dsicinvideo',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=dvbsub',
|
|
|
|
'--disable-decoder=dvdsub',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=dvvideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=dxa',
|
|
|
|
'--disable-decoder=dxtory',
|
|
|
|
'--disable-decoder=dxv',
|
|
|
|
'--disable-decoder=eacmv',
|
|
|
|
'--disable-decoder=eamad',
|
|
|
|
'--disable-decoder=eatgq',
|
|
|
|
'--disable-decoder=eatgv',
|
|
|
|
'--disable-decoder=eatqi',
|
|
|
|
'--disable-decoder=eightbps',
|
|
|
|
'--disable-decoder=escape124',
|
|
|
|
'--disable-decoder=escape130',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=exr',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=ffv1',
|
|
|
|
'--disable-decoder=ffvhuff',
|
|
|
|
'--disable-decoder=ffwavesynth',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=fic',
|
|
|
|
'--disable-decoder=fits',
|
|
|
|
'--disable-decoder=flashsv',
|
|
|
|
'--disable-decoder=flashsv2',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=flic',
|
|
|
|
'--disable-decoder=flv',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=fmvc',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=fraps',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=fourxm',
|
|
|
|
'--disable-decoder=frwu',
|
|
|
|
'--disable-decoder=g2m',
|
|
|
|
'--disable-decoder=gdv',
|
|
|
|
'--disable-decoder=gem',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=gif',
|
|
|
|
'--disable-decoder=h261',
|
|
|
|
'--disable-decoder=h263',
|
|
|
|
'--disable-decoder=h263i',
|
|
|
|
'--disable-decoder=h263p',
|
|
|
|
'--disable-decoder=h264',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=hap',
|
2017-12-12 10:01:39 +01:00
|
|
|
'--disable-decoder=hevc',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=hnm4_video',
|
|
|
|
'--disable-decoder=hq_hqa',
|
|
|
|
'--disable-decoder=hqx',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=huffyuv',
|
|
|
|
'--disable-decoder=hymt',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=idcin',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=idf',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=iff_ilbm',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=imm4',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=indeo2',
|
|
|
|
'--disable-decoder=indeo3',
|
|
|
|
'--disable-decoder=indeo4',
|
|
|
|
'--disable-decoder=indeo5',
|
|
|
|
'--disable-decoder=interplay_video',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=ipu',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=jacosub',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=jpeg2000',
|
|
|
|
'--disable-decoder=jpegls',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=jv',
|
|
|
|
'--disable-decoder=kgv1',
|
|
|
|
'--disable-decoder=kmvc',
|
|
|
|
'--disable-decoder=lagarith',
|
|
|
|
'--disable-decoder=loco',
|
|
|
|
'--disable-decoder=lscr',
|
|
|
|
'--disable-decoder=m101',
|
|
|
|
'--disable-decoder=magicyuv',
|
|
|
|
'--disable-decoder=mdec',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=microdvd',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=mimic',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=mjpeg',
|
|
|
|
'--disable-decoder=mmvideo',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=mpl2',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=mobiclip',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=motionpixels',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=movtext',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=mpeg1video',
|
|
|
|
'--disable-decoder=mpeg2video',
|
|
|
|
'--disable-decoder=mpeg4',
|
|
|
|
'--disable-decoder=mpegvideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=msa1',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=mscc',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=msmpeg4_crystalhd',
|
|
|
|
'--disable-decoder=msmpeg4v1',
|
|
|
|
'--disable-decoder=msmpeg4v2',
|
|
|
|
'--disable-decoder=msmpeg4v3',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=msp2',
|
|
|
|
'--disable-decoder=msrle',
|
|
|
|
'--disable-decoder=mss1',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=msvideo1',
|
|
|
|
'--disable-decoder=mszh',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=mts2',
|
|
|
|
'--disable-decoder=mv30',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=mvc1',
|
|
|
|
'--disable-decoder=mvc2',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=mvdv',
|
|
|
|
'--disable-decoder=mvha',
|
|
|
|
'--disable-decoder=mwsc',
|
|
|
|
'--disable-decoder=notchlc',
|
|
|
|
'--disable-decoder=nuv',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=on2avc',
|
|
|
|
'--disable-decoder=paf_video',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=pam',
|
|
|
|
'--disable-decoder=pbm',
|
|
|
|
'--disable-decoder=pcx',
|
|
|
|
'--disable-decoder=pgm',
|
|
|
|
'--disable-decoder=pgmyuv',
|
|
|
|
'--disable-decoder=pgssub',
|
|
|
|
'--disable-decoder=pgx',
|
|
|
|
'--disable-decoder=phm',
|
|
|
|
'--disable-decoder=photocd',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=png',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=pictor',
|
|
|
|
'--disable-decoder=pixlet',
|
|
|
|
'--disable-decoder=pjs',
|
|
|
|
'--disable-decoder=ppm',
|
|
|
|
'--disable-decoder=prores',
|
|
|
|
'--disable-decoder=prosumer',
|
|
|
|
'--disable-decoder=psd',
|
|
|
|
'--disable-decoder=ptx',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=qdraw',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=qoi',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=qpeg',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=qtrle',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=rawvideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=r10k',
|
|
|
|
'--disable-decoder=r210',
|
|
|
|
'--disable-decoder=rasc',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=realtext',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=rl2',
|
|
|
|
'--disable-decoder=rpza',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=roq',
|
|
|
|
'--disable-decoder=roq_dpcm',
|
|
|
|
'--disable-decoder=rscc',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=rv10',
|
|
|
|
'--disable-decoder=rv20',
|
|
|
|
'--disable-decoder=rv30',
|
|
|
|
'--disable-decoder=rv40',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=sami',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=sanm',
|
|
|
|
'--disable-decoder=scpr',
|
|
|
|
'--disable-decoder=screenpresso',
|
|
|
|
'--disable-decoder=sga',
|
|
|
|
'--disable-decoder=sgi',
|
|
|
|
'--disable-decoder=sgirle',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=sheervideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=simbiosis_imx',
|
|
|
|
'--disable-decoder=smc',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=snow',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=speedhq',
|
|
|
|
'--disable-decoder=srgc',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=srt',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=ssa',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=stl',
|
|
|
|
'--disable-decoder=subrip',
|
|
|
|
'--disable-decoder=subviewer',
|
|
|
|
'--disable-decoder=subviewer1',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=sunrast',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=svq1',
|
|
|
|
'--disable-decoder=svq3',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=targa',
|
|
|
|
'--disable-decoder=targa_y216',
|
|
|
|
'--disable-decoder=text',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=tiff',
|
2018-02-24 10:52:05 +01:00
|
|
|
'--disable-decoder=tiertexseqvideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=tmv',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=truemotion1',
|
|
|
|
'--disable-decoder=truemotion2',
|
|
|
|
'--disable-decoder=truemotion2rt',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=tscc',
|
|
|
|
'--disable-decoder=tscc2',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=twinvq',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=txd',
|
|
|
|
'--disable-decoder=ulti',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=utvideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=v210',
|
|
|
|
'--disable-decoder=v210x',
|
|
|
|
'--disable-decoder=v308',
|
|
|
|
'--disable-decoder=v408',
|
|
|
|
'--disable-decoder=v410',
|
|
|
|
'--disable-decoder=vb',
|
|
|
|
'--disable-decoder=vble',
|
|
|
|
'--disable-decoder=vbn',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=vc1',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=vcr1',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=vmdvideo',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=vmnc',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=vp3',
|
|
|
|
'--disable-decoder=vp5',
|
|
|
|
'--disable-decoder=vp6',
|
|
|
|
'--disable-decoder=vp7',
|
|
|
|
'--disable-decoder=vp8',
|
|
|
|
'--disable-decoder=vp9',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=vplayer',
|
2018-01-05 17:13:21 +01:00
|
|
|
'--disable-decoder=vqa',
|
2018-01-05 16:49:28 +01:00
|
|
|
'--disable-decoder=webvtt',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=wcmv',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=wmv1',
|
|
|
|
'--disable-decoder=wmv2',
|
|
|
|
'--disable-decoder=wmv3',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=wnv1',
|
|
|
|
'--disable-decoder=wrapped_avframe',
|
|
|
|
'--disable-decoder=xan_wc3',
|
|
|
|
'--disable-decoder=xan_wc4',
|
|
|
|
'--disable-decoder=xbin',
|
|
|
|
'--disable-decoder=xbm',
|
|
|
|
'--disable-decoder=xface',
|
|
|
|
'--disable-decoder=xl',
|
|
|
|
'--disable-decoder=xpm',
|
|
|
|
'--disable-decoder=xsub',
|
|
|
|
'--disable-decoder=xwd',
|
|
|
|
'--disable-decoder=y41p',
|
|
|
|
'--disable-decoder=ylc',
|
|
|
|
'--disable-decoder=yop',
|
2018-01-05 11:11:20 +01:00
|
|
|
'--disable-decoder=yuv4',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-decoder=zero12v',
|
|
|
|
'--disable-decoder=zerocodec',
|
|
|
|
'--disable-decoder=zlib',
|
|
|
|
'--disable-decoder=zmbv',
|
|
|
|
|
|
|
|
'--disable-bsf=av1_frame_merge',
|
|
|
|
'--disable-bsf=av1_frame_split',
|
|
|
|
'--disable-bsf=av1_metadata',
|
2023-03-06 07:52:59 +01:00
|
|
|
'--disable-bsf=dts2pts',
|
2023-03-06 08:32:14 +01:00
|
|
|
'--disable-bsf=h264_metadata',
|
|
|
|
'--disable-bsf=h264_mp4toannexb',
|
|
|
|
'--disable-bsf=h264_redundant_pps',
|
|
|
|
'--disable-bsf=hevc_metadata',
|
|
|
|
'--disable-bsf=hevc_mp4toannexb',
|
|
|
|
'--disable-bsf=mjpeg2jpeg',
|
|
|
|
'--disable-bsf=opus_metadata',
|
|
|
|
'--disable-bsf=pgs_frame_merge',
|
|
|
|
'--disable-bsf=text2movsub',
|
|
|
|
'--disable-bsf=vp9_metadata',
|
|
|
|
'--disable-bsf=vp9_raw_reorder',
|
|
|
|
'--disable-bsf=vp9_superframe',
|
|
|
|
'--disable-bsf=vp9_superframe_split',
|
2015-11-23 10:43:06 +01:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2021-01-21 14:13:59 +01:00
|
|
|
openssl = OpenSSLProject(
|
2023-03-21 09:39:20 +01:00
|
|
|
'https://www.openssl.org/source/openssl-3.1.0.tar.gz',
|
|
|
|
'aaa925ad9828745c4cad9d9efeb273deca820f2cdcf2c3ac7d7c1212b7c497b4',
|
2021-01-21 14:13:59 +01:00
|
|
|
'include/openssl/ossl_typ.h',
|
|
|
|
)
|
|
|
|
|
2021-09-20 22:59:33 +02:00
|
|
|
curl = CmakeProject(
|
2023-03-21 09:37:36 +01:00
|
|
|
'https://curl.se/download/curl-8.0.1.tar.xz',
|
|
|
|
'0a381cd82f4d00a9a334438b8ca239afea5bfefcfa9a1025f2bf118e79e0b5f0',
|
2015-11-23 10:43:06 +01:00
|
|
|
'lib/libcurl.a',
|
|
|
|
[
|
2021-09-20 22:59:33 +02:00
|
|
|
'-DBUILD_CURL_EXE=OFF',
|
|
|
|
'-DBUILD_SHARED_LIBS=OFF',
|
|
|
|
'-DCURL_DISABLE_LDAP=ON',
|
|
|
|
'-DCURL_DISABLE_TELNET=ON',
|
|
|
|
'-DCURL_DISABLE_DICT=ON',
|
|
|
|
'-DCURL_DISABLE_FILE=ON',
|
|
|
|
'-DCURL_DISABLE_FTP=ON',
|
|
|
|
'-DCURL_DISABLE_TFTP=ON',
|
|
|
|
'-DCURL_DISABLE_LDAPS=ON',
|
|
|
|
'-DCURL_DISABLE_RTSP=ON',
|
|
|
|
'-DCURL_DISABLE_PROXY=ON',
|
|
|
|
'-DCURL_DISABLE_POP3=ON',
|
|
|
|
'-DCURL_DISABLE_IMAP=ON',
|
|
|
|
'-DCURL_DISABLE_SMTP=ON',
|
|
|
|
'-DCURL_DISABLE_GOPHER=ON',
|
|
|
|
'-DCURL_DISABLE_COOKIES=ON',
|
|
|
|
'-DCURL_DISABLE_CRYPTO_AUTH=ON',
|
|
|
|
'-DCURL_DISABLE_ALTSVC=ON',
|
|
|
|
'-DCMAKE_USE_LIBSSH2=OFF',
|
|
|
|
'-DCURL_WINDOWS_SSPI=OFF',
|
|
|
|
'-DCURL_DISABLE_NTLM=ON',
|
|
|
|
'-DBUILD_TESTING=OFF',
|
|
|
|
],
|
|
|
|
windows_configure_args=[
|
2022-03-14 14:36:33 +01:00
|
|
|
'-DCURL_USE_SCHANNEL=ON',
|
2015-11-23 10:43:06 +01:00
|
|
|
],
|
2018-02-09 23:02:35 +01:00
|
|
|
patches='src/lib/curl/patches',
|
2015-11-23 10:43:06 +01:00
|
|
|
)
|
|
|
|
|
2018-02-20 22:45:15 +01:00
|
|
|
libnfs = AutotoolsProject(
|
2022-10-14 22:00:12 +02:00
|
|
|
'https://github.com/sahlberg/libnfs/archive/libnfs-5.0.2.tar.gz',
|
|
|
|
'637e56643b19da9fba98f06847788c4dad308b723156a64748041035dcdf9bd3',
|
2018-02-20 22:45:15 +01:00
|
|
|
'lib/libnfs.a',
|
|
|
|
[
|
|
|
|
'--disable-shared', '--enable-static',
|
|
|
|
'--disable-debug',
|
|
|
|
|
|
|
|
# work around -Wtautological-compare
|
|
|
|
'--disable-werror',
|
2018-08-17 18:32:03 +02:00
|
|
|
|
|
|
|
'--disable-utils', '--disable-examples',
|
2018-02-20 22:45:15 +01:00
|
|
|
],
|
2022-10-14 22:00:12 +02:00
|
|
|
base='libnfs-libnfs-5.0.2',
|
2018-02-20 22:45:15 +01:00
|
|
|
autoreconf=True,
|
|
|
|
)
|