diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-09-14 21:35:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-14 21:35:50 +0300 |
commit | 19e22ac88a1e55e3e53035acd1986fea42a22d9d (patch) | |
tree | b88c00fcf808753c80907bbb467818e9fb26b755 /mesonbuild/modules/gnome.py | |
parent | 6fd2fab02cf0e282483993b3df0e4388a5d23a02 (diff) | |
parent | 6f1d7e3d0ab541e8f98f7b45551fc8819618c20d (diff) | |
download | meson-19e22ac88a1e55e3e53035acd1986fea42a22d9d.zip meson-19e22ac88a1e55e3e53035acd1986fea42a22d9d.tar.gz meson-19e22ac88a1e55e3e53035acd1986fea42a22d9d.tar.bz2 |
Merge pull request #2216 from ebassi/yelp-linguas
Support LINGUAS for gnome.yelp() languages
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 476f80b..fcdd193 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -680,6 +680,11 @@ class GnomeModule(ExtensionModule): source_str = '@@'.join(sources) langs = mesonlib.stringlistify(kwargs.pop('languages', [])) + if langs: + mlog.log(mlog.red('DEPRECATION:'), '''The "languages" argument of gnome.yelp() is deprecated. +Use a LINGUAS file in the sources directory instead. +This will become a hard error in the future.''') + media = mesonlib.stringlistify(kwargs.pop('media', [])) symlinks = kwargs.pop('symlink_media', True) |