[devhelp] meson: AppData
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devhelp] meson: AppData
- Date: Mon, 12 Mar 2018 14:41:33 +0000 (UTC)
commit d0eeca0e10dcc9af3c3e09c646c228da9d14c827
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Mar 12 15:15:30 2018 +0100
meson: AppData
data/meson.build | 10 ++++++++++
meson.build | 1 +
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 4f60a8d..064d256 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -3,3 +3,13 @@ install_data(
'org.gnome.libdevhelp-3.gschema.xml'],
install_dir : join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
)
+
+appdata = 'org.gnome.Devhelp.appdata.xml'
+I18N.merge_file(
+ appdata,
+ input : appdata + '.in',
+ output : appdata,
+ po_dir : '../po/',
+ install : true,
+ install_dir : join_paths(get_option('prefix'), get_option('datadir'), 'metainfo')
+)
diff --git a/meson.build b/meson.build
index ee7509f..59ffbd8 100644
--- a/meson.build
+++ b/meson.build
@@ -11,6 +11,7 @@ project(
GNOME = import('gnome')
PKG_CONFIG = import('pkgconfig')
+I18N = import('i18n')
# API version, used for parallel installability.
DEVHELP_API_VERSION = '3'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]