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