Commit 7a9d94ef authored by Nicolas Dufresne's avatar Nicolas Dufresne

build: Configure to build a bit less

That reduces the risk of spurious build errors.
parent 808dbda3
......@@ -6,15 +6,26 @@ dependency('libavcodec')
dependency('libavutil')
dependency('srt')
subprojects = [
'orc',
'gstreamer',
'libnice',
'gst-plugins-base',
'gst-plugins-good',
'gst-plugins-bad',
'gst-plugins-ugly',
'gst-libav',
]
common_opt = ['introspection=disabled', 'examples=disabled', 'doc=disabled', 'gtk_doc=disabled']
build_opt = ['python=disabled', 'devtools=disabled', 'ges=disabled', 'rtsp_server=disabled']
run_command('meson', 'subprojects', 'download', 'gst-build')
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/gstreamer.wrap')
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/gst-plugins-base.wrap')
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/gst-plugins-good.wrap')
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/gst-plugins-bad.wrap')
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/gst-plugins-ugly.wrap')
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/gst-libav.wrap')
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/libnice.wrap')
subproject('gst-build')
foreach p : subprojects
run_command('meson', 'wrap', 'promote', 'subprojects/gst-build/subprojects/' + p + '.wrap')
subproject(p, default_options: common_opt)
endforeach
subproject('gst-build', default_options: common_opt + build_opt)
soup_dep = dependency('libsoup-2.4')
json_glib_dep = dependency('json-glib-1.0')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment