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