mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
meson: Add an option to enable/disable validate integration
This commit is contained in:
parent
9cf986c71c
commit
9ec1ebfbdf
2 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,7 @@ if host_machine.system() != 'windows'
|
||||||
endif
|
endif
|
||||||
gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
|
gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
|
||||||
fallback : ['gstreamer', 'gst_controller_dep'])
|
fallback : ['gstreamer', 'gst_controller_dep'])
|
||||||
gstvalidate_dep = dependency('gst-validate-1.0', version : gst_req, required : false,
|
gstvalidate_dep = dependency('gst-validate-1.0', version : gst_req, required : get_option('validate'),
|
||||||
fallback : ['gst-devtools', 'validate_dep'])
|
fallback : ['gst-devtools', 'validate_dep'])
|
||||||
|
|
||||||
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
|
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
|
||||||
|
|
|
@ -12,3 +12,5 @@ option('python', type : 'feature', value : 'auto', yield: true,
|
||||||
description: 'Enable python formatters.')
|
description: 'Enable python formatters.')
|
||||||
option('libpython-dir', type : 'string', value : '',
|
option('libpython-dir', type : 'string', value : '',
|
||||||
description: 'Path to find libpythonXX.so')
|
description: 'Path to find libpythonXX.so')
|
||||||
|
option('validate', type : 'feature', value : 'auto', yield: true,
|
||||||
|
description: 'Enable GstValidate integration.')
|
||||||
|
|
Loading…
Reference in a new issue