meson: Add feature options for all plugins
[platform/upstream/gstreamer.git] / meson_options.txt
1 option('audioresample_format', type : 'combo',
2        choices : ['int', 'float', 'auto'], value : 'auto')
3 option('gl_api', type : 'array', choices : ['opengl', 'gles2', 'auto'], value : ['auto'],
4        description : 'A comma separated list of opengl APIs to enable building against')
5 option('gl_platform', type : 'array',
6        choices : ['glx', 'egl', 'cgl', 'wgl', 'eagl', 'auto'], value : ['auto'],
7        description : 'A comma separated list of opengl platforms to enable building against')
8 option('gl_winsys', type : 'array',
9        choices : ['x11', 'wayland', 'win32', 'cocoa', 'dispmanx', 'auto'], value : ['auto'],
10        description : 'A comma separated list of opengl windows systems to enable building against. Supported values are x11, wayland, win32, cocoa, and dispmanx')
11 option('egl_module_name', type : 'string', value : '',
12        description : 'The file to pass to g_module_open to open the libEGL library (default: libEGL)')
13 option('opengl_module_name', type : 'string', value : '',
14        description : 'The file to pass to g_module_open to open the libGL library (default: libGL)')
15 option('gles2_module_name', type : 'string', value : '',
16        description : 'The file to pass to g_module_open to open the libGLESv2 library (default: libGLESv2)')
17 option('install_plugins_helper', type: 'string', value: '',
18        description: 'Path of distro helper script to call to install missing plugins')
19
20 # Feature options for plugins with no external deps
21 option('adder', type : 'feature', value : 'auto')
22 option('app', type : 'feature', value : 'auto')
23 option('audioconvert', type : 'feature', value : 'auto')
24 option('audiomixer', type : 'feature', value : 'auto')
25 option('audiorate', type : 'feature', value : 'auto')
26 option('audioresample', type : 'feature', value : 'auto')
27 option('audiotestsrc', type : 'feature', value : 'auto')
28 option('encoding', type : 'feature', value : 'auto')
29 option('gio', type : 'feature', value : 'auto')
30 option('pbtypes', type : 'feature', value : 'auto')
31 option('playback', type : 'feature', value : 'auto')
32 option('rawparse', type : 'feature', value : 'auto')
33 option('subparse', type : 'feature', value : 'auto')
34 option('tcp', type : 'feature', value : 'auto')
35 option('typefind', type : 'feature', value : 'auto')
36 option('videoconvert', type : 'feature', value : 'auto')
37 option('videorate', type : 'feature', value : 'auto')
38 option('videoscale', type : 'feature', value : 'auto')
39 option('videotestsrc', type : 'feature', value : 'auto')
40 option('volume', type : 'feature', value : 'auto')
41
42 # Feature options for plugins with external deps
43 option('alsa', type : 'feature', value : 'auto', description : 'ALSA audio source/sink plugin')
44 option('cdparanoia', type : 'feature', value : 'auto', description : 'cdparanoia plugin')
45 option('libvisual', type : 'feature', value : 'auto', description : 'libvisual audio visualization plugin')
46 option('ogg', type : 'feature', value : 'auto', description : 'ogg parser, muxer, demuxer plugin')
47 option('opus', type : 'feature', value : 'auto', description : 'OPUS audio codec plugin')
48 option('pango', type : 'feature', value : 'auto', description : 'Pango text rendering and overlay plugin')
49 option('theora', type : 'feature', value : 'auto', description : 'Theora video parser and codec plugin')
50 option('vorbis', type : 'feature', value : 'auto', description : 'Vorbis audio parser, tagger, and codec plugin')
51 option('x11', type : 'feature', value : 'auto', description : 'X11 ximagesink plugin, and X11 support in libraries, plugins, examples')
52 option('xshm', type : 'feature', value : 'auto', description : 'X11 shared memory support for X11 plugins')
53 option('xvideo', type : 'feature', value : 'auto', description : 'X11 XVideo xvimagesink plugin')
54
55 # Common feature options
56 option('examples', type : 'feature', value : 'auto', yield : true)
57 option('gtk_doc', type : 'feature', value : 'auto', yield : true, description : 'Build API documentation with gtk-doc')
58 option('introspection', type : 'feature', value : 'auto', yield : true, description : 'Generate gobject-introspection bindings')
59 option('nls', type : 'feature', value : 'auto', yield: true, description : 'Enable native language support (translations)')
60 option('orc', type : 'feature', value : 'auto', yield : true)
61
62 # Common options
63 option('package-name', type : 'string', yield : true,
64        description : 'package name to use in plugins')
65 option('package-origin', type : 'string', value : 'Unknown package origin', yield : true,
66        description : 'package origin URL to use in plugins')