meson: Use proper type for bools

Fix invalid usage of bools which violates official meson specification and thus
breaks muon, an implementation of meson written in C.

Signed-off-by: illiliti <illiliti@protonmail.com>
This commit is contained in:
illiliti 2022-04-02 16:32:46 +03:00
parent 962aefda42
commit de57106c94

View file

@ -1,23 +1,23 @@
option('libraries', option('libraries',
description: 'Compile Wayland libraries', description: 'Compile Wayland libraries',
type: 'boolean', type: 'boolean',
value: 'true') value: true)
option('scanner', option('scanner',
description: 'Compile wayland-scanner binary', description: 'Compile wayland-scanner binary',
type: 'boolean', type: 'boolean',
value: 'true') value: true)
option('tests', option('tests',
description: 'Compile Wayland tests', description: 'Compile Wayland tests',
type: 'boolean', type: 'boolean',
value: 'true') value: true)
option('documentation', option('documentation',
description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)', description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)',
type: 'boolean', type: 'boolean',
value: 'true') value: true)
option('dtd_validation', option('dtd_validation',
description: 'Validate the protocol DTD (requires libxml2)', description: 'Validate the protocol DTD (requires libxml2)',
type: 'boolean', type: 'boolean',
value: 'true') value: true)
option('icon_directory', option('icon_directory',
description: 'Location used to look for cursors (defaults to ${datadir}/icons if unset)', description: 'Location used to look for cursors (defaults to ${datadir}/icons if unset)',
type: 'string', type: 'string',