aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-26 14:14:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-28 13:40:53 +0000
commit139fd6d55cbdd2833be3d3eb7f2c96c87a7fa42d (patch)
tree331de24478c8f5ee29549d00344503a7b85cdf85 /meson_options.txt
parentconfig: add tweak.bold-text-in-bright-amount (diff)
meson: add -Dterminfo-base-name option
This defines the base name of the generated terminfo files. It defaults to the value of -Ddefault-terminfo (i.e. 'foot') Example: meson -Ddefault-terminfo=foot-bananas -Dterminfo-base-name=foot-apples The generated terminfo files will be * terminfo/f/foot-apples * terminfo/f/foot-apples-direct The default value of $TERM will be 'foot-bananas'
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index d16e23ae..ab7a07be 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -15,7 +15,8 @@ option('tests', type: 'boolean', value: true, description: 'Build tests')
option('terminfo', type: 'feature', value: 'enabled', description: 'Build and install foot\'s terminfo files.')
option('default-terminfo', type: 'string', value: 'foot',
description: 'Default value of the "term" option in foot.ini.')
-
+option('terminfo-base-name', type: 'string',
+ description: 'Base name of the generated terminfo files. Defaults to the value of the \'default-terminfo\' meson option')
option('custom-terminfo-install-location', type: 'string', value: '',
description: 'Path to foot\'s terminfo, relative to ${prefix}. If set, foot will set $TERMINFO to this value in the client process.')