mutter/meson_options.txt
Georges Basile Stavracas Neto ebb6c56f67
Add Meson support for installed tests
This is the last remaining feature necessary to achieve
parity with the Autotools build.

A few changes were made to the install locations of the
tests, in order to better acomodate them in Meson:

 * Tests are now installed under a versioned folder (e.g.
   /usr/share/installed-tests/mutter-4)

 * The mutter-cogl.test file is now generated from an .in
   file, instead of a series of $(echo)s from within Makefile.

Notice that those tests need very controlled environments
to run correctly. Mutter installed tests, for example, will
failed when running under a regular session due to D-Bus
failing to acquire the ScreenCast and/or RemoteScreen names.
2018-12-20 13:52:35 -02:00

149 lines
2.7 KiB
Meson

option('opengl',
type: 'boolean',
value: true,
description: 'Enable OpenGL'
)
option('opengl_libname',
type: 'string',
value: 'libGL.so.1',
description: 'OpenGL library file name'
)
option('gles2_libname',
type: 'string',
value: 'libGLESv2.so',
description: 'GLESv2 library file name'
)
option('gles2',
type: 'boolean',
value: true,
description: 'Enable GLES2 support'
)
option('egl',
type: 'boolean',
value: true,
description: 'Enable EGL support'
)
option('glx',
type: 'boolean',
value: true,
description: 'Enable GLX support'
)
option('wayland',
type: 'boolean',
value: true,
description: 'Enable Wayland support'
)
option('native_backend',
type: 'boolean',
value: true,
description: 'Enable the native backend'
)
option('remote_desktop',
type: 'boolean',
value: true,
description: 'Enable remote desktop and screen cast support'
)
option('egl_device',
type: 'boolean',
value: false,
description: 'Enable EGLDevice and EGLStream renderer support'
)
option('wayland_eglstream',
type: 'boolean',
value: false,
description: 'Enable Wayland EGLStream support client support'
)
option('udev',
type: 'boolean',
value: true,
description: 'Enable udev support when using the X11 backend'
)
option('libwacom',
type: 'boolean',
value: true,
description: 'Enable libwacom support'
)
option('pango_ft2',
type: 'boolean',
value: true,
description: 'Enable PangoFt2 support'
)
option('libcanberra',
type: 'boolean',
value: true,
description: 'Enable libcanberra support'
)
option('startup_notification',
type: 'boolean',
value: true,
description: 'Enable startup notification support'
)
option('sm',
type: 'boolean',
value: true,
description: 'Enable X11 session management support'
)
option('introspection',
type: 'boolean',
value: true,
description: 'Enable GObject introspection'
)
option('cogl_tests',
type: 'boolean',
value: true,
description: 'Enable cogl tests'
)
option('clutter_tests',
type: 'boolean',
value: true,
description: 'Enable clutter tests'
)
option('tests',
type: 'boolean',
value: true,
description: 'Enable mutter tests'
)
option('installed_tests',
type: 'boolean',
value: true,
description: 'Enable mutter installed tests'
)
option('verbose',
type: 'boolean',
value: true,
description: 'Enable verbose logging ability'
)
option('xwayland_path',
type: 'string',
value: '',
description: 'Path to Xwayland executable'
)
option('xwayland_grab_default_access_rules',
type: 'string',
value: 'gnome-boxes,remote-viewer,virt-viewer,virt-manager,vinagre,vncviewer,Xephyr',
description: 'Comma delimited list of applications ressources or class allowed to issue X11 grabs in Xwayland'
)