2018-02-14 13:55:32 +00:00
|
|
|
# GDK backends
|
2020-08-21 23:36:17 +00:00
|
|
|
|
|
|
|
option('x11-backend',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description : 'Enable the X11 gdk backend (only when building on Unix)')
|
|
|
|
|
|
|
|
option('wayland-backend',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description : 'Enable the wayland gdk backend (only when building on Unix except for macOS)')
|
|
|
|
|
|
|
|
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('macos-backend',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description : 'Enable the macOS gdk backend (only when building on macOS)')
|
2018-02-14 13:55:32 +00:00
|
|
|
|
2018-03-01 20:46:16 +00:00
|
|
|
# Media backends
|
2021-04-01 15:59:18 +00:00
|
|
|
# For distros: GTK guarantees support for WebM video (VP8 and VP9), so a supported build
|
|
|
|
# should provide that.
|
2018-03-01 20:46:16 +00:00
|
|
|
|
2020-10-17 13:50:40 +00:00
|
|
|
option('media-ffmpeg',
|
|
|
|
type: 'feature',
|
2021-04-01 15:59:18 +00:00
|
|
|
value: 'disabled',
|
|
|
|
description : 'Build the experimental ffmpeg media backend')
|
2020-10-17 13:50:40 +00:00
|
|
|
|
|
|
|
option('media-gstreamer',
|
|
|
|
type: 'feature',
|
2021-04-01 15:59:18 +00:00
|
|
|
value: 'enabled',
|
2020-10-17 13:50:40 +00:00
|
|
|
description : 'Build the gstreamer media backend')
|
2020-08-21 23:36:17 +00:00
|
|
|
|
|
|
|
# Print backends
|
|
|
|
|
2020-10-17 13:50:40 +00:00
|
|
|
option('print-cups',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
description : 'Build the cups print backend')
|
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
# Optional features
|
|
|
|
|
|
|
|
option('vulkan',
|
|
|
|
type: 'feature',
|
2021-04-01 16:08:19 +00:00
|
|
|
value: 'disabled',
|
|
|
|
description : 'Enable support for the experimental Vulkan graphics API')
|
2020-08-21 23:36:17 +00:00
|
|
|
|
|
|
|
option('cloudproviders',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled',
|
|
|
|
description : 'Enable the cloudproviders support')
|
2020-08-21 22:51:48 +00:00
|
|
|
|
|
|
|
option('sysprof',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled',
|
|
|
|
description : 'include tracing support for sysprof')
|
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
option('tracker',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'disabled',
|
|
|
|
description : 'Enable Tracker3 filechooser search')
|
2018-02-14 13:55:32 +00:00
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
option('colord',
|
|
|
|
type: 'feature',
|
2021-01-09 06:28:11 +00:00
|
|
|
value: 'disabled',
|
2020-08-21 23:36:17 +00:00
|
|
|
description : 'Build colord support for the CUPS printing backend')
|
2018-02-14 13:55:32 +00:00
|
|
|
|
2021-04-07 23:41:54 +00:00
|
|
|
option('f16c',
|
|
|
|
type: 'feature',
|
|
|
|
value: 'enabled',
|
|
|
|
description: 'Enable F16C fast paths (requires F16C)')
|
|
|
|
|
2018-02-14 13:55:32 +00:00
|
|
|
# Documentation and introspection
|
2020-08-21 23:36:17 +00:00
|
|
|
|
|
|
|
option('gtk_doc',
|
|
|
|
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',
|
2020-09-30 13:41:28 +00:00
|
|
|
type: 'feature',
|
|
|
|
value: 'auto',
|
|
|
|
yield: true,
|
2020-08-21 23:36:17 +00:00
|
|
|
description : 'Build introspection data (requires gobject-introspection)')
|
|
|
|
|
|
|
|
# Demos, examples and tests
|
|
|
|
|
|
|
|
option('demos',
|
|
|
|
type: 'boolean',
|
|
|
|
value: 'true',
|
|
|
|
description : 'Build demo programs')
|
|
|
|
|
2021-02-12 04:35:26 +00:00
|
|
|
option('profile',
|
|
|
|
type: 'combo',
|
|
|
|
choices: [ 'default', 'devel' ],
|
|
|
|
value: 'default',
|
|
|
|
description : 'Profile to use for demos')
|
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
option('build-examples',
|
|
|
|
type: 'boolean',
|
|
|
|
value: 'true',
|
|
|
|
description : 'Build examples')
|
|
|
|
|
|
|
|
option('build-tests',
|
|
|
|
type: 'boolean',
|
|
|
|
value: 'true',
|
|
|
|
description : 'Build tests')
|
|
|
|
|
|
|
|
option('install-tests',
|
|
|
|
type: 'boolean',
|
|
|
|
value: 'false',
|
|
|
|
description : 'Install tests')
|