FFmpeg-3.0.2.eb 1.05 KB
Newer Older
Lukáš Krupčík's avatar
Lukáš Krupčík committed
1 2 3 4 5 6 7 8
easyblock = 'ConfigureMake'

name = 'FFmpeg'
version = '3.0.2'

homepage = 'https://www.ffmpeg.org/'
description = """A complete, cross-platform solution to record, convert and stream audio and video."""

9
toolchain = {'name': 'dummy', 'version': ''}
Lukáš Krupčík's avatar
Lukáš Krupčík committed
10 11 12 13 14

sources = [SOURCELOWER_TAR_BZ2]
source_urls = ['http://ffmpeg.org/releases/']

dependencies = [
15 16
    ('NASM', '2.12.02'),
    ('zlib', '1.2.11'),
Lukáš Krupčík's avatar
Lukáš Krupčík committed
17 18 19 20 21 22 23
    ('x264', '20160430'),
]

configopts = '--enable-pic --enable-shared --enable-gpl --enable-version3 --enable-nonfree --cc="$CC" --cxx="$CXX" '
configopts += '--enable-libx264'

sanity_check_paths = {
Lukáš Krupčík's avatar
Lukáš Krupčík committed
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
    'files': [
        'bin/ff%s' %
        x for x in [
            'mpeg',
            'probe',
            'server']] +
    [
        'lib/lib%s.%s' %
        (x,
         y) for x in [
            'avdevice',
            'avfilter',
            'avformat',
            'avcodec',
            'postproc',
            'swresample',
            'swscale',
            'avutil'] for y in [
            'so',
            'a']],
    'dirs': ['include']}
Lukáš Krupčík's avatar
Lukáš Krupčík committed
45 46

moduleclass = 'vis'