mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 05:15:36 +00:00
meson: Add option to use gstreamer debugging API
gst_debug_bin_to_dot_data() can only be used if gstreamer has been compiled with debugging features enabled.
This commit is contained in:
parent
70dcc84abc
commit
1cbffebdf6
2 changed files with 8 additions and 0 deletions
|
@ -63,6 +63,10 @@ config_data.set_quoted('PACKAGE_URL', calls_homepage)
|
|||
config_data.set_quoted('PACKAGE_VERSION', calls_version)
|
||||
config_data.set('PACKAGE_URL_RAW', calls_homepage)
|
||||
|
||||
gst_debug = get_option('gst_debug')
|
||||
config_data.set('CALLS_GST_DEBUG', gst_debug, description: 'Use GStreamer debugging API')
|
||||
|
||||
|
||||
run_data = configuration_data()
|
||||
run_data.set('ABS_BUILDDIR', meson.current_build_dir())
|
||||
run_data.set('ABS_SRCDIR', meson.current_source_dir())
|
||||
|
|
|
@ -9,3 +9,7 @@ option('tests',
|
|||
option('manpages',
|
||||
type: 'boolean', value: true,
|
||||
description: 'Whether to generate man pages')
|
||||
|
||||
option('gst_debug',
|
||||
type: 'boolean', value: true,
|
||||
description: 'Whether to use gstreamers debugging API')
|
||||
|
|
Loading…
Reference in a new issue