[shotwell] build: Use LINGUAS file for help



commit ab5db2fc754720fe2dd1b9a3fe2791d0d068c102
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Mar 18 18:38:51 2018 +0100

    build: Use LINGUAS file for help
    
    The old method is deprecated.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794456

 help/LINGUAS     |    8 ++++++++
 help/meson.build |    3 +--
 meson.build      |    1 +
 3 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/help/LINGUAS b/help/LINGUAS
new file mode 100644
index 0000000..bb2adbc
--- /dev/null
+++ b/help/LINGUAS
@@ -0,0 +1,8 @@
+cs
+de
+el
+es
+hu
+lv
+pt_BR
+sv
diff --git a/help/meson.build b/help/meson.build
index 4d4a172..b5c15b4 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -49,5 +49,4 @@ yelp_media = [
 gnome.yelp('shotwell',
            sources : yelp_pages,
            media : yelp_media,
-           symlink_media : true,
-           languages : [ 'cs', 'de', 'el', 'es', 'hu', 'lv', 'pt_BR', 'sv'])
+           symlink_media : true)
diff --git a/meson.build b/meson.build
index 693cab5..072ad0a 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,6 @@
 project('Shotwell', ['vala', 'c'],
         version : '0.29.0',
+        meson_version : '>= 0.43.0',
         default_options : ['buildtype=debugoptimized'])
 
 gnome = import('gnome')


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