summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-09-04 12:37:04 +1000
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2020-06-19 21:46:51 +0000
commit7095744237eeb7eccfd72d9958191d990587f1d5 (patch)
tree80b3d7cce6b2487fae6cdd8c4bdcc2621f1c8929 /meson_options.txt
parent3e39f931e39a81870f966f8e9fe24e1dd447e51b (diff)
downloadxkeyboard-config-7095744237eeb7eccfd72d9958191d990587f1d5.tar.gz
Add support for the meson build system
This produces virtually the same installed tree as the autotools builds with the following exceptions: - rules symlinks is no longer supported. This option is 16y old and likely hasn't been used in the last decade or so - the xkeyboard-config.pc file uses expanded paths now, e.g. xkb_base=/usr/share/X11/xkb vs autotools' xkb_base=${datarootdir}/X11/xkb The values are the same for both so this is not a functional change. - substitutions in the man page are hardcoded since we can't use the m4 XORG_MACROS. This appears to only matter for the miscmansuffix and there only for solaris up to including 11.3. so... meh? - the .mo files differ, but it's hard to say why since they're generated Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..1bee74b
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,8 @@
+option('xkb-base',
+ type: 'string',
+ value: '',
+ description: 'XKB base path [default=$datadir/X11/xkb]')
+option('compat-rules',
+ type: 'boolean',
+ value: true,
+ description: 'create compatibility rules [default=true]')