[libadwaita/msvc: 18/19] demo/data: Don't try building appstream items on Windows
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/msvc: 18/19] demo/data: Don't try building appstream items on Windows
- Date: Fri, 17 Dec 2021 03:52:32 +0000 (UTC)
commit 92513f769984e96b053046cf7f8f45df0e30cf29
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Oct 29 17:51:51 2021 +0800
demo/data: Don't try building appstream items on Windows
This simply does not exist on Windows
demo/data/meson.build | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/demo/data/meson.build b/demo/data/meson.build
index 612410c5..27f97734 100644
--- a/demo/data/meson.build
+++ b/demo/data/meson.build
@@ -28,17 +28,19 @@ appdata_config = configuration_data()
appdata_config.set('BUILD_VERSION', meson.project_version())
appdata_config.set('BUILD_DATE', today)
-appstream_file = i18n.merge_file(
- input: configure_file(
- input: 'org.gnome.Adwaita1.Demo.metainfo.xml.in.in',
- output: 'org.gnome.Adwaita1.Demo.metainfo.xml.in',
- configuration: appdata_config
- ),
- output: 'org.gnome.Adwaita1.Demo.metainfo.xml',
- po_dir: '../../po',
- install: true,
- install_dir: datadir / 'metainfo'
-)
+if target_system != 'windows'
+ appstream_file = i18n.merge_file(
+ input: configure_file(
+ input: 'org.gnome.Adwaita1.Demo.metainfo.xml.in.in',
+ output: 'org.gnome.Adwaita1.Demo.metainfo.xml.in',
+ configuration: appdata_config
+ ),
+ output: 'org.gnome.Adwaita1.Demo.metainfo.xml',
+ po_dir: '../../po',
+ install: true,
+ install_dir: datadir / 'metainfo'
+ )
+endif
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]