diff --git a/meson.build b/meson.build index 66b4f5ade9..3ca302a033 100644 --- a/meson.build +++ b/meson.build @@ -12,8 +12,7 @@ subprojects = [ 'gst-plugins-ugly', 'gst-plugins-bad', 'gst-devtools', - 'gst-editing-services', - 'gst-python' + 'gst-editing-services' ] # FIXME Remove that check once we have ffmpeg as a gst-libav subproject @@ -38,6 +37,9 @@ else subprojects += gst_libav endif +if get_option('enable_python') + subprojects += ['gst-python'] +endif foreach subproj: subprojects subproject(subproj, version: gst_version) diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 0000000000..a3a3ebc0c6 --- /dev/null +++ b/meson_options.txt @@ -0,0 +1 @@ +option('enable_python', type : 'boolean', value : false)