[libsoup/wip/meson: 73/93] Build the internationalization files



commit 2b2e72101e87992a6d0d950ad49f8b20a854a346
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Nov 16 16:48:46 2017 +0100

    Build the internationalization files

 meson.build    |    2 ++
 po/meson.build |    6 ++++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/meson.build b/meson.build
index dcaa8ca..8157ec4 100644
--- a/meson.build
+++ b/meson.build
@@ -5,6 +5,7 @@ project('libsoup', 'c',
         default_options : ['warning_level=1', 'c_std=c89'])
 
 gnome = import('gnome')
+i18n = import('i18n')
 cc = meson.get_compiler('c')
 
 soup_version = meson.project_version()
@@ -205,6 +206,7 @@ if enable_gnome
 endif
 
 subdir('libsoup')
+subdir('po')
 subdir('examples')
 
 if get_option('enable-tests')
diff --git a/po/meson.build b/po/meson.build
new file mode 100644
index 0000000..6b9a7bc
--- /dev/null
+++ b/po/meson.build
@@ -0,0 +1,6 @@
+i18n.gettext(meson.project_name(),
+  preset : 'glib',
+  args: [
+  '--default-domain=' + meson.project_name(),
+  ]
+)


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