summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-11-23 14:13:55 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-11-28 22:57:56 +0000
commita60799aed6c99e6ac97c4b3a3ef9246b1b5425dd (patch)
treed0ee820c64eb2d2eecebcb5555916e7bc281bb65 /meson_options.txt
parent9c0373366988cc0b909ba31e61c43cc46e054b40 (diff)
meson: add fontrootdir option to drop font-utils dependency
The only reason we still depend on xorg/font/utils is because we pull a pkgconfig variable from that .pc file. Let's drop that dependency by providing that option ourselves. And where the option isn't specified and font-utils isn't found, default to $datadir/fonts/X11, same path it's always been. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index ed3b11677..11d576780 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -25,6 +25,8 @@ option('log_dir', type: 'string')
option('module_dir', type: 'string', value: 'xorg/modules',
description: 'X.Org modules directory (absolute or relative to the directory specified by the libdir option)')
option('default_font_path', type: 'string')
+option('fontrootdir', type: 'string',
+ description: 'Root directory for legacy fonts. Default: from font-utils.pc or $datadir/fonts/X11')
option('glx', type: 'boolean', value: true)
option('xdmcp', type: 'boolean', value: true)