instead of 'examples' use 'gst-examples' as option to build the respective subproject
authorStephan Hesse <stephan@emliri.com>
Sat, 2 Nov 2019 16:18:27 +0000 (17:18 +0100)
committerStephan Hesse <stephan@emliri.com>
Sat, 2 Nov 2019 16:28:22 +0000 (17:28 +0100)
we want to do this because the other "examples" in plugins (tests etc) need  a lot deps (qt5 etc)
that are not needed by gst-examples itself.

meson.build
meson_options.txt

index e64c5b0..a6e8dcc 100644 (file)
@@ -63,7 +63,7 @@ subprojects = [
   ['gstreamer-sharp', { 'option': get_option('sharp') }],
   ['pygobject', { 'option': get_option('python'), 'match_gst_version': false }],
   ['gst-python', { 'option': get_option('python'), 'has-plugins': true}],
-  ['gst-examples', { 'option': get_option('examples'), 'match_gst_versions': false}],
+  ['gst-examples', { 'option': get_option('gst-examples'), 'match_gst_versions': false}],
 ]
 
 symlink = '''
index de4243c..5ae2ea2 100644 (file)
@@ -10,6 +10,7 @@ option('omx', type : 'feature', value : 'disabled')
 option('vaapi', type : 'feature', value : 'auto')
 option('sharp', type : 'feature', value : 'disabled')
 option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names')
+option('gst-examples', type : 'feature', value : 'auto', description : 'Build gst-examples')
 
 # Common options, automatically inherited by subprojects
 option('examples', type : 'feature', value : 'auto', description : 'Build examples')