2017-03-12 16:54:44 +00:00
|
|
|
# demos/widget-factory
|
2016-08-21 14:00:37 +00:00
|
|
|
|
2017-03-12 16:54:44 +00:00
|
|
|
widgetfactory_resources = gnome.compile_resources('widgetfactory_resources',
|
2017-04-26 16:04:20 +00:00
|
|
|
'widget-factory.gresource.xml',
|
|
|
|
source_dir: '.')
|
2016-08-21 14:00:37 +00:00
|
|
|
|
2017-03-12 16:54:44 +00:00
|
|
|
executable('gtk4-widget-factory',
|
2017-04-26 16:04:20 +00:00
|
|
|
'widget-factory.c', widgetfactory_resources,
|
2020-03-06 17:56:40 +00:00
|
|
|
c_args: common_cflags,
|
2017-04-26 16:04:20 +00:00
|
|
|
dependencies: libgtk_dep,
|
|
|
|
include_directories: confinc,
|
|
|
|
gui_app: true,
|
2018-03-28 04:13:08 +00:00
|
|
|
link_args: extra_demo_ldflags,
|
2017-04-26 16:04:20 +00:00
|
|
|
install: true)
|
2017-03-12 16:54:44 +00:00
|
|
|
|
|
|
|
# desktop file
|
2019-04-01 23:58:30 +00:00
|
|
|
install_data('org.gtk.WidgetFactory4.desktop', install_dir: gtk_applicationsdir)
|
2017-03-12 16:54:44 +00:00
|
|
|
|
|
|
|
# icons
|
2017-04-26 16:04:20 +00:00
|
|
|
icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
2017-03-12 16:54:44 +00:00
|
|
|
|
2019-02-06 14:37:25 +00:00
|
|
|
foreach size: ['scalable', 'symbolic']
|
2019-02-09 02:38:14 +00:00
|
|
|
install_subdir('data/' + size,
|
2019-02-06 14:37:25 +00:00
|
|
|
install_dir: icontheme_dir
|
|
|
|
)
|
2017-03-12 16:54:44 +00:00
|
|
|
endforeach
|
2018-03-21 00:04:20 +00:00
|
|
|
|
|
|
|
# appdata
|
2019-04-01 23:58:30 +00:00
|
|
|
install_data('org.gtk.WidgetFactory4.appdata.xml', install_dir: gtk_appdatadir)
|