| 1 |
# GDK backends |
| 2 |
|
| 3 |
# Windowing system backends |
| 4 |
# Note: The options change the abi (what backend api is available) without |
| 5 |
# changing the soname, so think twice before deviating from the default values. |
| 6 |
|
| 7 |
option('x11-backend', |
| 8 |
type: 'boolean', |
| 9 |
value: true, |
| 10 |
description : 'Enable the X11 gdk backend (only when building on Unix)') |
| 11 |
|
| 12 |
option('wayland-backend', |
| 13 |
type: 'boolean', |
| 14 |
value: true, |
| 15 |
description : 'Enable the wayland gdk backend (only when building on Unix except for macOS)') |
| 16 |
|
| 17 |
option('broadway-backend', |
| 18 |
type: 'boolean', |
| 19 |
value: false, |
| 20 |
description : 'Enable the broadway (HTML5) gdk backend') |
| 21 |
|
| 22 |
option('win32-backend', |
| 23 |
type: 'boolean', |
| 24 |
value: true, |
| 25 |
description : 'Enable the Windows gdk backend (only when building on Windows)') |
| 26 |
|
| 27 |
option('macos-backend', |
| 28 |
type: 'boolean', |
| 29 |
value: true, |
| 30 |
description : 'Enable the macOS gdk backend (only when building on macOS)') |
| 31 |
|
| 32 |
option('android-backend', |
| 33 |
type: 'boolean', |
| 34 |
value: true, |
| 35 |
description : 'Enable the Android gdk backend (only when building on Android)') |
| 36 |
|
| 37 |
# Media backends |
| 38 |
# For distros: GTK guarantees support for WebM video (VP8 and VP9), so a supported build |
| 39 |
# should provide that. |
| 40 |
|
| 41 |
option('media-gstreamer', |
| 42 |
type: 'feature', |
| 43 |
value: 'enabled', |
| 44 |
description : 'Build the gstreamer media backend') |
| 45 |
|
| 46 |
# Print backends |
| 47 |
|
| 48 |
option('print-cpdb', |
| 49 |
type: 'feature', |
| 50 |
value: 'disabled', |
| 51 |
description : 'Build the cpdb print backend') |
| 52 |
|
| 53 |
option('print-cups', |
| 54 |
type: 'feature', |
| 55 |
value: 'auto', |
| 56 |
description : 'Build the cups print backend') |
| 57 |
|
| 58 |
# Optional features |
| 59 |
|
| 60 |
option('vulkan', |
| 61 |
type: 'feature', |
| 62 |
value: 'enabled', |
| 63 |
description : 'Enable Vulkan support including the Vulkan renderer') |
| 64 |
|
| 65 |
option('cloudproviders', |
| 66 |
type: 'feature', |
| 67 |
value: 'disabled', |
| 68 |
description : 'Enable the cloudproviders support') |
| 69 |
|
| 70 |
option('sysprof', |
| 71 |
type: 'feature', |
| 72 |
value: 'disabled', |
| 73 |
description : 'include tracing support for sysprof') |
| 74 |
|
| 75 |
option('tracker', |
| 76 |
type: 'feature', |
| 77 |
value: 'disabled', |
| 78 |
description : 'Enable Tracker3 filechooser search') |
| 79 |
|
| 80 |
option('colord', |
| 81 |
type: 'feature', |
| 82 |
value: 'disabled', |
| 83 |
description : 'Build colord support for the CUPS printing backend') |
| 84 |
|
| 85 |
option('f16c', |
| 86 |
type: 'feature', |
| 87 |
value: 'enabled', |
| 88 |
description: 'Enable F16C fast paths (requires F16C)') |
| 89 |
|
| 90 |
option('accesskit', |
| 91 |
type: 'feature', |
| 92 |
value: 'disabled', |
| 93 |
description: 'Enable the AccessKit backend for accessibility') |
| 94 |
|
| 95 |
option('android-runtime', |
| 96 |
type: 'feature', |
| 97 |
value: 'enabled', |
| 98 |
description : 'Enable the runtime for running native applications on Android') |
| 99 |
|
| 100 |
# Introspection |
| 101 |
|
| 102 |
option('introspection', |
| 103 |
type: 'feature', |
| 104 |
value: 'auto', |
| 105 |
yield: true, |
| 106 |
description : 'Build introspection data (requires gobject-introspection)') |
| 107 |
|
| 108 |
# Documentation |
| 109 |
|
| 110 |
option('documentation', |
| 111 |
type: 'boolean', |
| 112 |
value: false, |
| 113 |
description : 'Build API reference and tools documentation') |
| 114 |
|
| 115 |
option('screenshots', |
| 116 |
type: 'boolean', |
| 117 |
value: false, |
| 118 |
description : 'Regenerate screenshots for the documentation') |
| 119 |
|
| 120 |
option('man-pages', |
| 121 |
type: 'boolean', |
| 122 |
value: false, |
| 123 |
description : 'Build man pages for installed tools') |
| 124 |
|
| 125 |
# Demos, examples and tests |
| 126 |
|
| 127 |
option('profile', |
| 128 |
type: 'combo', |
| 129 |
choices: [ 'auto', 'default', 'devel' ], |
| 130 |
value: 'auto', |
| 131 |
description : 'Profile to use for demos') |
| 132 |
|
| 133 |
option('build-demos', |
| 134 |
type: 'boolean', |
| 135 |
value: true, |
| 136 |
description : 'Build demo programs') |
| 137 |
|
| 138 |
option('build-testsuite', |
| 139 |
type: 'boolean', |
| 140 |
value: true, |
| 141 |
description : 'Build testsuite') |
| 142 |
|
| 143 |
option('build-examples', |
| 144 |
type: 'boolean', |
| 145 |
value: true, |
| 146 |
description : 'Build examples') |
| 147 |
|
| 148 |
option('build-tests', |
| 149 |
type: 'boolean', |
| 150 |
value: true, |
| 151 |
description : 'Build tests') |