forked from AuroraMiddleware/gtk
e4338c4d42
This way, we can support external libraries providing implementations of GtkMediaFile. We also add a media backend called 'nomedia' that can be enabled to not compile any support for GtkMediaFile. This is useful when people want to statically compile GTK into an application that does not use media. For now, this option is the default. We also support a new environment variable GTK_MEDIA that allows selecting the implementation to use. GTK_MEDIA=help can be used to get info about the available implementations.
46 lines
2.2 KiB
Meson
46 lines
2.2 KiB
Meson
# GDK backends
|
|
option('x11-backend', type: 'boolean', value: true,
|
|
description : 'Enable the X11 gdk backend (only when building on Linux or macOS)')
|
|
option('wayland-backend', type: 'boolean', value: true,
|
|
description : 'Enable the wayland gdk backend (only when building on Linux)')
|
|
option('broadway-backend', type: 'boolean', value: false,
|
|
description : 'Enable the broadway (HTML5) gdk backend')
|
|
option('win32-backend', type: 'boolean', value: true,
|
|
description : 'Enable the Windows gdk backend (only when building on Windows)')
|
|
option('quartz-backend', type: 'boolean', value: true,
|
|
description : 'Enable the macOS gdk backend (only when building on macOS)')
|
|
|
|
# Media backends
|
|
option('media', type: 'string', value: 'none',
|
|
description : 'Build the specified media engines (comma-separated list, "all", or "none")')
|
|
|
|
# Optional dependencies
|
|
option('vulkan', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto',
|
|
description : 'Enable support for the Vulkan graphics API')
|
|
option('xinerama', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto',
|
|
description : 'Enable support for the Xinerama extension')
|
|
option('cloudproviders', type: 'boolean', value: false,
|
|
description : 'Enable the cloudproviders support')
|
|
|
|
# Print backends
|
|
option('print-backends', type : 'string', value : 'cups,file',
|
|
description : 'Build the specified print backends (comma-separated list, "all", or "none")')
|
|
option('colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto',
|
|
description : 'Build colord support for the CUPS printing backend')
|
|
|
|
# Documentation and introspection
|
|
option('documentation', type: 'boolean', value: 'false',
|
|
description : 'Build API reference and tools documentation')
|
|
option('man-pages', type: 'boolean', value: 'false',
|
|
description : 'Build man pages for installed tools')
|
|
option('introspection', type: 'boolean', value: 'true',
|
|
description : 'Build introspection data (requires gobject-introspection)')
|
|
|
|
# Demos and binaries
|
|
option('demos', type: 'boolean', value: 'true',
|
|
description : 'Build demos and example programs')
|
|
option('build-tests', type: 'boolean', value: 'true',
|
|
description : 'Build tests')
|
|
option('install-tests', type: 'boolean', value: 'false',
|
|
description : 'Install tests')
|