# IT4Innovations 2019 easyblock = 'ConfigureMake' name = 'FFmpeg' version = '4.1' homepage = 'https://www.ffmpeg.org/' description = """A local_complete, cross-platform solution to record, convert and stream audio and video.""" toolchain = SYSTEM source_urls = ['http://ffmpeg.org/releases/'] sources = [SOURCELOWER_TAR_BZ2] checksums = ['b684fb43244a5c4caae652af9022ed5d85ce15210835bce054a33fb26033a1a5'] builddependencies = [('pkg-config', '0.29.2')] dependencies = [ ('NASM', '2.13.03'), ('zlib', '1.2.11'), ('bzip2', '1.0.6'), ('x264', '20181203'), ('LAME', '3.100'), ('x265', '2.9'), ('X11', '20180604'), ('freetype', '2.9.1'), ('fontconfig', '2.13.0'), ('FriBidi', '1.0.5'), ] configopts = '--enable-pic --enable-shared --enable-gpl --enable-version3 --enable-nonfree --cc="$CC" --cxx="$CXX" ' configopts += '--enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libfreetype --enable-fontconfig ' configopts += '--enable-libfribidi' sanity_check_paths = { 'files': ['bin/ff%s' % x for x in ['mpeg', 'probe']] + ['lib/lib%s.%s' % (x, y) for x in ['avdevice', 'avfilter', 'avformat', 'avcodec', 'postproc', 'swresample', 'swscale', 'avutil'] for y in [SHLIB_EXT, 'a']], 'dirs': ['include'] } moduleclass = 'vis'