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',
|
2022-08-23 12:27:24 +00:00
|
|
|
description : 'Enable support for the experimental Vulkan renderer')
|
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',
|
2022-04-03 11:55:33 +00:00
|
|
|
value: false,
|
2020-08-21 23:36:17 +00:00
|
|
|
description : 'Build API reference and tools documentation')
|
|
|
|
|
2022-04-18 15:56:43 +00:00
|
|
|
option('update_screenshots',
|
|
|
|
type: 'boolean',
|
|
|
|
value: false,
|
|
|
|
description : 'Regenerate screenshots for the documentation')
|
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
option('man-pages',
|
|
|
|
type: 'boolean',
|
2022-04-03 11:55:33 +00:00
|
|
|
value: false,
|
2020-08-21 23:36:17 +00:00
|
|
|
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',
|
2022-04-03 11:55:33 +00:00
|
|
|
value: true,
|
2020-08-21 23:36:17 +00:00
|
|
|
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')
|
|
|
|
|
2023-01-13 12:14:33 +00:00
|
|
|
option('build-testsuite',
|
|
|
|
type: 'boolean',
|
|
|
|
value: true,
|
|
|
|
description : 'Build testsuite')
|
|
|
|
|
2020-08-21 23:36:17 +00:00
|
|
|
option('build-examples',
|
|
|
|
type: 'boolean',
|
2022-04-03 11:55:33 +00:00
|
|
|
value: true,
|
2020-08-21 23:36:17 +00:00
|
|
|
description : 'Build examples')
|
|
|
|
|
|
|
|
option('build-tests',
|
|
|
|
type: 'boolean',
|
2022-04-03 11:55:33 +00:00
|
|
|
value: true,
|
2020-08-21 23:36:17 +00:00
|
|
|
description : 'Build tests')
|