Release 1.22.2
[platform/upstream/gstreamer.git] / meson_options.txt
1 # Subproject options
2 option('python', type : 'feature', value : 'auto')
3 option('libav', type : 'feature', value : 'auto')
4 option('libnice', type : 'feature', value : 'auto')
5 option('base', type : 'feature', value : 'enabled')
6 option('good', type : 'feature', value : 'enabled')
7 option('ugly', type : 'feature', value : 'auto')
8 option('bad', type : 'feature', value : 'auto')
9 option('devtools', type : 'feature', value : 'auto')
10 option('ges', type : 'feature', value : 'auto')
11 option('rtsp_server', type : 'feature', value : 'auto')
12 option('omx', type : 'feature', value : 'disabled')
13 option('vaapi', type : 'feature', value : 'disabled')
14 option('sharp', type : 'feature', value : 'disabled')
15 option('rs', type : 'feature', value : 'disabled')
16 option('gst-examples', type : 'feature', value : 'auto', description : 'Build gst-examples')
17 option('tls', type : 'feature', value : 'auto', description : 'TLS support using glib-networking')
18 option('qt5', type : 'feature', value : 'auto', description : 'Qt5 Support')
19 option('tools', type : 'feature', value : 'auto', yield : true, description : 'Build command line tools')
20
21 # Build for fuzzing
22 option('oss_fuzz', type : 'feature', value : 'disabled',
23        description: 'Use fuzzing build environment')
24
25 # Other options
26 option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names')
27 option('gst-full-libraries', type : 'array', value : [],
28   description : '''List of libraries to expose in gstreamer-full's ABI. gstreamer, glib and gobject are always included.''')
29 option('gst-full-version-script', type : 'string', value: 'data/misc/gstreamer-full-default.map',
30   description : 'path of the version script to be used by the linker, see https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html')
31 option('gst-full-plugins', type : 'string', value : '*',
32   description : '''List of plugins to expose in gstreamer-full's ABI with the syntax plugin1;plugin2. By default '*' will export all plugins enabled by the build process.''')
33 option('gst-full-elements', type : 'string', value : '',
34   description : '''List of elements to expose in gstreamer-full's ABI with the syntax plugin1;plugin2:element1,element2. By default '' will export all element of the enabled plugin.''')
35 option('gst-full-typefind-functions', type : 'string', value : '',
36   description : '''List of typefind functions to expose in gstreamer-full's ABI with the syntax plugin:func1,func2. By default '' will export all typefind functions of the enabled plugin.''')
37 option('gst-full-device-providers', type : 'string', value : '',
38   description : '''List of device providers to expose in gstreamer-full's ABI with the syntax plugin1:dp1;plugin2:dp1:dp2. By default '' will export all device provider of the enabled plugin.''')
39 option('gst-full-dynamic-types', type : 'string', value : '',
40   description : '''List of dynamic types to expose in gstreamer-full's ABI with the syntax plugin:dt1,dt2. By default '' will export all device provider of the enabled plugin.''')
41 option('orc-source', type: 'combo', choices: ['system', 'subproject', 'auto'], value: 'subproject')
42
43 # License-related feature options
44 option('gpl', type: 'feature', value: 'disabled',
45   description: 'Allow build of plugins that have (A)GPL-licensed dependencies')
46
47 # Common options, automatically inherited by subprojects
48 option('tests', type : 'feature', value : 'auto', description : 'Build tests')
49 option('examples', type : 'feature', value : 'auto', description : 'Build examples')
50 option('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data')
51 option('nls', type : 'feature', value : 'auto', description : 'Enable native language support (translations)')
52 option('orc', type : 'feature', value : 'auto', description : 'Enable Optimized Inner Loop Runtime Compiler')
53 option('doc', type : 'feature', value : 'auto', description : 'Generate API documentation with hotdoc')
54 option('gtk_doc', type : 'feature', value : 'disabled', description : 'Generate API documentation with gtk-doc')
55
56 option('package-origin', type : 'string', value : 'Unknown package origin', yield : true,
57        description : 'package origin URL to use in plugins')
58
59 option('gobject-cast-checks', type : 'feature', value : 'auto', yield : true,
60        description: 'Enable run-time GObject cast checks (auto = enabled for development, disabled for stable releases)')
61 option('glib-asserts', type : 'feature', value : 'enabled', yield : true,
62        description: 'Enable GLib assertion (auto = enabled for development, disabled for stable releases)')
63 option('glib-checks', type : 'feature', value : 'enabled', yield : true,
64        description: 'Enable GLib checks such as API guards (auto = enabled for development, disabled for stable releases)')