[libsoup/wip/meson: 61/75] Build the internationalization files
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/meson: 61/75] Build the internationalization files
- Date: Mon, 12 Feb 2018 10:46:07 +0000 (UTC)
commit 2b907f8980d03e9c77864ff9e2be52318f0d243a
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]