Do not gst-python by default
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Thu, 20 Oct 2016 20:35:34 +0000 (17:35 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Thu, 20 Oct 2016 20:47:07 +0000 (17:47 -0300)
meson.build
meson_options.txt [new file with mode: 0644]

index 66b4f5a..3ca302a 100644 (file)
@@ -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 (file)
index 0000000..a3a3ebc
--- /dev/null
@@ -0,0 +1 @@
+option('enable_python', type : 'boolean', value : false)