From 7412011716d9a21ee05516f5c52098dd82ac0893 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 20 Nov 2018 11:28:56 -0500 Subject: Meson: Add 'nls' option to disable translation It is not always needed to generate and install gmo files, for example when building for Android or Windows that often doesn't have libintl to use them anyway. At least all GStreamer modules have this same option. --- meson_options.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 64accf68b..d64221eb4 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -83,3 +83,9 @@ option('installed_tests', type : 'boolean', value : false, description : 'enable installed tests') + +option('nls', + type : 'feature', + value : 'auto', + yield: true, + description : 'Enable native language support (translations)') -- cgit v1.2.1