From b844b7229ad203bfb4afda3611373ed42988b13a Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 20 Oct 2016 17:35:34 -0300 Subject: [PATCH] Do not gst-python by default --- meson.build | 6 ++++-- meson_options.txt | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 meson_options.txt 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)