meson: install desktop/gschema files for demos

This commit is contained in:
Christoph Reiter 2019-03-29 21:31:11 +01:00
parent c9d4f53cfc
commit 1bbd244517
3 changed files with 13 additions and 0 deletions

View File

@ -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']))

View File

@ -19,3 +19,6 @@ iconbrowser = executable(
include_directories : confinc,
install: true
)
# desktop file
install_data('gtk3-icon-browser.desktop', install_dir: gtk_applicationsdir)

View File

@ -24,3 +24,6 @@ widget_factory = executable(
include_directories : confinc,
install: true
)
# desktop file
install_data('gtk3-widget-factory.desktop', install_dir: gtk_applicationsdir)