mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
3c28f6d891
And fix the generated warnings
30 lines
920 B
Meson
30 lines
920 B
Meson
# demos/widget-factory
|
|
|
|
widgetfactory_resources = gnome.compile_resources('widgetfactory_resources',
|
|
'widget-factory.gresource.xml',
|
|
source_dir: '.')
|
|
|
|
executable('gtk4-widget-factory',
|
|
'widget-factory.c', widgetfactory_resources,
|
|
c_args: common_cflags,
|
|
dependencies: libgtk_dep,
|
|
include_directories: confinc,
|
|
gui_app: true,
|
|
link_args: extra_demo_ldflags,
|
|
install: true)
|
|
|
|
# desktop file
|
|
install_data('org.gtk.WidgetFactory4.desktop', install_dir: gtk_applicationsdir)
|
|
|
|
# icons
|
|
icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
|
|
|
foreach size: ['scalable', 'symbolic']
|
|
install_subdir('data/' + size,
|
|
install_dir: icontheme_dir
|
|
)
|
|
endforeach
|
|
|
|
# appdata
|
|
install_data('org.gtk.WidgetFactory4.appdata.xml', install_dir: gtk_appdatadir)
|