From 1bbd24451727b5d6dedb6d6e939f8532e8504fae Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Fri, 29 Mar 2019 21:31:11 +0100 Subject: [PATCH] meson: install desktop/gschema files for demos --- demos/gtk-demo/meson.build | 7 +++++++ demos/icon-browser/meson.build | 3 +++ demos/widget-factory/meson.build | 3 +++ 3 files changed, 13 insertions(+) diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build index 1f8e348f6a..5e30941cfc 100644 --- a/demos/gtk-demo/meson.build +++ b/demos/gtk-demo/meson.build @@ -134,3 +134,10 @@ foreach s: [ '16', '22', '24', '32', '48', '256', '512'] join_paths('data', '@0@x@0@'.format(s), 'gtk3-demo-symbolic.symbolic.png')] install_data(icons, install_dir: icon_destdir) endforeach + +# desktop file +install_data('gtk3-demo.desktop', install_dir: gtk_applicationsdir) + +# GSettings +install_data('org.gtk.Demo.gschema.xml', install_dir: gtk_schemasdir) +gnome.compile_schemas(depend_files: files(['org.gtk.Demo.gschema.xml'])) diff --git a/demos/icon-browser/meson.build b/demos/icon-browser/meson.build index 8bd7e9e5bb..f241a5a7c4 100644 --- a/demos/icon-browser/meson.build +++ b/demos/icon-browser/meson.build @@ -19,3 +19,6 @@ iconbrowser = executable( include_directories : confinc, install: true ) + +# desktop file +install_data('gtk3-icon-browser.desktop', install_dir: gtk_applicationsdir) diff --git a/demos/widget-factory/meson.build b/demos/widget-factory/meson.build index 9ce9cc2213..2a1b980fa8 100644 --- a/demos/widget-factory/meson.build +++ b/demos/widget-factory/meson.build @@ -24,3 +24,6 @@ widget_factory = executable( include_directories : confinc, install: true ) + +# desktop file +install_data('gtk3-widget-factory.desktop', install_dir: gtk_applicationsdir)