1 project('All GStreamer modules', 'c', version : '1.9.2.1')
3 gst_version = '>= @0@'.format(meson.project_version())
15 'gst-editing-services'
18 # FIXME Remove that check once we have ffmpeg as a gst-libav subproject
19 libavfilter_dep = dependency('libavfilter', version: '>= 6.47.100', required: false)
21 if libavfilter_dep.found()
22 cc = meson.get_compiler('c')
23 check_ffmpeg_src = '''#include <libavcodec/avcodec.h>
24 #if LIBAVCODEC_VERSION_MICRO >= 100
25 /* FFmpeg uses 100+ as its micro version */
27 #error libav provider should be FFmpeg
29 if cc.compiles(check_ffmpeg_src, name : 'whether libav is provided by FFmpeg')
30 gst_libav = ['gst-libav']
34 if gst_libav.length() == 0
35 message('WARNING: gst-libav not built as ffmpeg >= n3.1.2 not found on the system')
37 subprojects += gst_libav
40 if get_option('enable_python')
41 subprojects += ['gst-python']
44 foreach subproj: subprojects
45 subproject(subproj, version: gst_version)
48 setenv = find_program('gst-uninstalled.py')
49 run_target('uninstalled', command : [setenv, '--builddir=@0@'.format(meson.current_build_dir()),
50 '--gst-version=@0@'.format(gst_branch)])