summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-05-21 11:54:50 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-05-21 11:55:53 +0100
commit906b37de60998831cd165e4f23707cc8cfb610c5 (patch)
tree20d33e0a347322740baf8727174784c29e83acdb /meson_options.txt
parentac90718ffc102f6411be271f0cdc222740ab28f6 (diff)
meson: add 'nls' option to disable translations
And enable by default. Was implicitly disabled because ENABLE_NLS was not defined. Also use .set_quoted().
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 65dde098..939c17d5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,6 +2,8 @@ option('x264_libraries', type : 'string', value : '',
description : 'Colon separated list of additional x264 library paths, e.g. for 10-bit version')
# Common options
+option('nls', type : 'boolean', value : true, yield: true,
+ description : 'Enable native language support (translations)')
option('package-name', type : 'string', yield : true,
description : 'package name to use in plugins')
option('package-origin', type : 'string', value : 'Unknown package origin', yield: true,