[gnome-text-editor] build: dont install appdata/dbus/desktop file on mac/win
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] build: dont install appdata/dbus/desktop file on mac/win
- Date: Thu, 3 Feb 2022 01:37:01 +0000 (UTC)
commit 66466e20a4c3a1f0ddd05698144ae15c7ae58bd5
Author: Christian Hergert <chergert redhat com>
Date: Wed Feb 2 17:36:56 2022 -0800
build: dont install appdata/dbus/desktop file on mac/win
data/meson.build | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 22cbb0a..bed01ce 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,3 +1,5 @@
+if host_machine.system() not in ['windows', 'darwin']
+
desktop_file_in_config = configuration_data()
desktop_file_in_config.set('app_id', app_id)
desktop_file_in_config.set('app_name', 'org.gnome.TextEditor')
@@ -47,11 +49,6 @@ if appstream_util.found()
)
endif
-gnome.compile_schemas(build_by_default: true)
-install_data('org.gnome.TextEditor.gschema.xml',
- install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
-)
-
# D-Bus service file.
dbusconf = configuration_data()
dbusconf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
@@ -63,6 +60,13 @@ configure_file(
install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services'),
)
+endif
+
+gnome.compile_schemas(build_by_default: true)
+install_data('org.gnome.TextEditor.gschema.xml',
+ install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
+)
+
subdir('icons')
subdir('macos')
subdir('styles')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]