summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-03-11 10:24:04 -0800
committerEric Anholt <eric@anholt.net>2017-04-26 15:25:27 -0700
commit1549e30372756cfdb85379fd8d93c769297ab6e6 (patch)
tree6160835c9dbe15e39ce799f8b1f6a6fdedd89825 /meson_options.txt
parentc7be7a688a78a34f61b90c0d95914e14b90b0cdc (diff)
Add a Meson build system alongside autotools.
This is a work in progress that builds Xvfb, Xephyr, Xwayland, Xnest, and Xdmx so far. The outline of Xquartz/Xwin support is in tree, but hasn't been built yet. The unit tests are also not done. The intent is to build this as a complete replacement for the autotools system, then eventually replace autotools. meson is faster to generate the build, faster to run the bulid, shorter to write the build files in, and less error-prone than autotools. v2: Fix indentation nits, move version declaration to project(), use existing meson_options for version-config.h's vendor name/web. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Keith Packard <keithp@keithp.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 000000000..b89fdaa2c
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,46 @@
+option('xorg', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
+ description: 'Enable Xorg X Server')
+option('xephyr', type: 'boolean', value: false,
+ description: 'Enable Xephyr nexted X server')
+option('xwayland', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
+ description: 'Enable XWayland X server')
+option('glamor', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
+ description: 'Enable glamor (default yes for Xorg/Xwayland builds)')
+option('xnest', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
+ description: 'Enable Xnest nested X server')
+option('dmx', type: 'boolean', value: false,
+ description: 'Enable DMX nested X server')
+
+option('log_dir', type: 'string')
+option('module_dir', type: 'string',
+ description: 'X.Org modules directory')
+
+option('glx', type: 'boolean', value: true)
+option('xdmcp', type: 'boolean', value: true)
+option('xdm-auth-1', type: 'boolean', value: true)
+option('ipv6', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto')
+
+option('xkb_dir', type: 'string')
+option('xkb_output_dir', type: 'string')
+option('xkb_default_rules', type: 'string', value: 'evdev')
+option('xkb_default_model', type: 'string', value: 'pc105')
+option('xkb_default_layout', type: 'string', value: 'us')
+option('xkb_default_variant', type: 'string')
+option('xkb_default_options', type: 'string')
+
+option('vendor_name', type: 'string', value: 'The X.Org Foundation')
+option('vendor_name_short', type: 'string', value: 'X.Org')
+option('vendor_web', type: 'string', value: 'http://wiki.x.org')
+option('os_vendor', type: 'string', value: '')
+
+option('int10', type: 'combo', choices: ['stub', 'x86emu', 'vm86', 'auto', 'disabled'],
+ value: 'auto',
+ description: 'Xorg int10 backend (default: usually x86emu)')
+
+option('pciaccess', type: 'boolean', value: 'true',
+ description: 'Xorg pciaccess support')
+option('udev', type: 'boolean', value: 'true')
+option('hal', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
+ description: 'Enable HAL integration')
+option('systemd_logind', type: 'combo', choices: ['yes', 'no', 'auto'], value: 'auto',
+ description: 'Enable systemd-logind integration')