| 1 |
option('gst_debug', type : 'boolean', value : true) |
| 2 |
option('gst_parse', type : 'boolean', value : true, |
| 3 |
description: 'Enable pipeline string parser') |
| 4 |
option('registry', type : 'boolean', value : true) |
| 5 |
option('tracer_hooks', type : 'boolean', value : true, description: 'Enable tracer usage') |
| 6 |
option('ptp-helper', type: 'feature', description: 'Build gst-ptp-helper') |
| 7 |
option('ptp-helper-setuid-user', type : 'string', |
| 8 |
description : 'User to switch to when installing gst-ptp-helper setuid root') |
| 9 |
option('ptp-helper-setuid-group', type : 'string', |
| 10 |
description : 'Group to switch to when installing gst-ptp-helper setuid root') |
| 11 |
option('ptp-helper-permissions', type : 'combo', |
| 12 |
choices : ['none', 'setuid-root', 'capabilities', 'auto'], value : 'auto') |
| 13 |
option('option-parsing', type : 'boolean', value : true, |
| 14 |
description: 'Enable command line option parsing') |
| 15 |
option('poisoning', type : 'boolean', value : false, description : 'Enable poisoning of deallocated objects') |
| 16 |
option('memory-alignment', type: 'combo', |
| 17 |
choices : ['1', '2', '4', '8', '16', '32', '64', '128', '256', '512', '1024', '2048', '4096', '8192', 'malloc', 'pagesize'], |
| 18 |
value: 'malloc') |
| 19 |
|
| 20 |
# Feature options |
| 21 |
option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') |
| 22 |
option('libunwind', type : 'feature', value : 'auto', description : 'Use libunwind to generate backtraces') |
| 23 |
option('libdw', type : 'feature', value : 'auto', description : 'Use libdw to generate better backtraces from libunwind') |
| 24 |
option('dbghelp', type : 'feature', value : 'auto', description : 'Use dbghelp to generate backtraces') |
| 25 |
option('bash-completion', type : 'feature', value : 'auto', description : 'Install bash completion files') |
| 26 |
option('coretracers', type : 'feature', value : 'auto', description : 'Build coretracers plugin') |
| 27 |
option('gstreamer-static-full', type : 'boolean', value : false, description : 'Enable static support of gstreamer-full.') |
| 28 |
|
| 29 |
# Common feature options |
| 30 |
option('examples', type : 'feature', value : 'auto', yield : true) |
| 31 |
option('tests', type : 'feature', value : 'auto', yield : true) |
| 32 |
option('benchmarks', type : 'feature', value : 'auto', yield : true) |
| 33 |
option('tools', type : 'feature', value : 'auto', yield : true) |
| 34 |
option('introspection', type : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection bindings') |
| 35 |
option('nls', type : 'feature', value : 'auto', yield: true, description : 'Enable native language support (translations)') |
| 36 |
option('extra-checks', type : 'feature', value : 'enabled', yield : true, description : 'Enable extra runtime checks') |
| 37 |
|
| 38 |
# Common options |
| 39 |
option('package-name', type : 'string', yield : true, |
| 40 |
description : 'package name to use in plugins') |
| 41 |
option('package-origin', type : 'string', value : 'Unknown package origin', yield : true, |
| 42 |
description : 'package origin URL to use in plugins') |
| 43 |
option('doc', type : 'feature', value : 'auto', yield: true, |
| 44 |
description: 'Enable documentation.') |
| 45 |
option('glib_debug', type : 'feature', value : 'auto', yield : true, description : 'Enable GLib debug infrastructure (see docs/macros.txt)') |
| 46 |
option('glib_assert', type : 'boolean', value : true, yield : true, description : 'Enable GLib assertion (see docs/macros.txt)', |
| 47 |
deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'}, |
| 48 |
) |
| 49 |
option('glib_checks', type : 'boolean', value : true, yield : true, description : 'Enable GLib checks such as API guards (see docs/macros.txt)', |
| 50 |
deprecated: {'enabled' : 'true', 'disabled' : 'false', 'auto' : 'false'}, |
| 51 |
) |
| 52 |
|
| 53 |
# Deprecated, kept for backward compat |
| 54 |
option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true, |
| 55 |
description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)', |
| 56 |
deprecated: 'glib_debug') |
| 57 |
option('glib-asserts', type : 'feature', value : 'enabled', yield : true, |
| 58 |
description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)', |
| 59 |
deprecated: 'glib_assert') |
| 60 |
option('glib-checks', type : 'feature', value : 'enabled', yield : true, |
| 61 |
description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)', |
| 62 |
deprecated: 'glib_checks') |