[polari/wip/fmuellner/help-linguas] build: Use LINGUAS file for help languages



commit ac99737a5503f7d3f1bb2cd517e10df9af963c9c
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Dec 6 00:12:26 2017 +0100

    build: Use LINGUAS file for help languages
    
    meson deprecated the 'languages' parameter of gnome.yelp() in favor
    of an external LINGUAS file, so do just that.

 help/LINGUAS     | 8 ++++++++
 help/meson.build | 3 +--
 meson.build      | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..b50eb56
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,8 @@
+cs
+de
+es
+fr
+hu
+pl
+pt_BR
+sv
diff --git a/help/meson.build b/help/meson.build
index 968d3d3..83e16ef 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -15,6 +15,5 @@ gnome.yelp(app_id,
     'images/polari-paste.png',
     'images/polari-screenshot.png',
     'images/Polari.png'
-  ],
-  languages: ['cs', 'de', 'es', 'fr', 'hu', 'pl', 'pt_BR', 'sv']
+  ]
 )
diff --git a/meson.build b/meson.build
index 06f8ae4..eb9508d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project('polari', 'c',
   version: '3.27.2',
-  meson_version: '>= 0.37.0',
+  meson_version: '>= 0.43.0',
   license: 'GPL2+'
 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]