mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-07 04:08:25 +02:00
meson: fix types for some build options
Booleans are supposed to be actual booleans, not strings describing
their value, but Meson has a bug where it silently accepts either one.
It's still wrong to do it though, and other implementations of Meson
such as muon choke on it.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
(cherry picked from commit f5b4b79dcf)
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2222>
This commit is contained in:
parent
38efdcada1
commit
3e83c10859
1 changed files with 5 additions and 5 deletions
|
|
@ -57,12 +57,12 @@ option('listen_local', type: 'boolean', value: true,
|
|||
option('int10', type: 'combo', choices: ['stub', 'x86emu', 'vm86', 'auto', 'false'],
|
||||
value: 'auto',
|
||||
description: 'Xorg int10 backend (default: usually x86emu)')
|
||||
option('suid_wrapper', type: 'boolean', value: 'false',
|
||||
option('suid_wrapper', type: 'boolean', value: false,
|
||||
description: 'SUID wrapper for legacy driver support')
|
||||
option('pciaccess', type: 'boolean', value: 'true',
|
||||
option('pciaccess', type: 'boolean', value: true,
|
||||
description: 'Xorg pciaccess support')
|
||||
option('udev', type: 'boolean', value: 'true')
|
||||
option('udev_kms', type: 'boolean', value: 'true')
|
||||
option('udev', type: 'boolean', value: true)
|
||||
option('udev_kms', type: 'boolean', value: true)
|
||||
option('hal', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
|
||||
description: 'Enable HAL integration')
|
||||
option('systemd_logind', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
|
||||
|
|
@ -107,7 +107,7 @@ option('xf86-input-inputtest', type: 'boolean', value: true,
|
|||
option('dri1', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', description: 'Build DRI1 extension (default: auto)')
|
||||
option('dri2', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', description: 'Build DRI2 extension (default: auto)')
|
||||
option('dri3', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', description: 'Build DRI3 extension (default: auto)')
|
||||
option('drm', type: 'boolean', value: 'true',
|
||||
option('drm', type: 'boolean', value: true,
|
||||
description: 'Build Xorg with libdrm support')
|
||||
|
||||
option('apple-applications-dir', type: 'string', value: '/Applications/Utilities',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue