meson: widget-factory: install icons

This commit is contained in:
Christoph Reiter 2019-03-29 20:37:29 +01:00
parent 212efbdd81
commit dbf7e1d23b

View File

@ -9,6 +9,13 @@ widgetfactory_resources = gnome.compile_resources(
source_dir: '.'
)
foreach s: [ '16', '22', '24', '32', '48', '256']
icon_destdir = join_paths(gtk_datadir, 'icons', 'hicolor', '@0@x@0@'.format(s), 'apps')
icons = [join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory.png'),
join_paths('data', '@0@x@0@'.format(s), 'gtk3-widget-factory-symbolic.symbolic.png')]
install_data(icons, install_dir: icon_destdir)
endforeach
widget_factory = executable(
'gtk3-widget-factory',
widgetfactory_sources,