2020-06-28 14:12:45 +00:00
|
|
|
executable('gtk4-print-editor',
|
2020-12-15 12:31:38 +00:00
|
|
|
sources: ['print-editor.c'],
|
|
|
|
c_args: common_cflags,
|
2021-02-12 04:35:26 +00:00
|
|
|
dependencies: [ libgtk_dep, demo_conf_h ],
|
2020-12-15 12:31:38 +00:00
|
|
|
include_directories: confinc,
|
2021-12-24 15:51:11 +00:00
|
|
|
win_subsystem: 'windows',
|
2020-12-15 12:31:38 +00:00
|
|
|
link_args: extra_demo_ldflags,
|
|
|
|
install: true,
|
|
|
|
)
|
2020-06-28 14:12:45 +00:00
|
|
|
|
|
|
|
# desktop file
|
|
|
|
install_data('org.gtk.PrintEditor4.desktop', install_dir: gtk_applicationsdir)
|
|
|
|
|
|
|
|
# appdata
|
|
|
|
install_data('org.gtk.PrintEditor4.appdata.xml', install_dir: gtk_appdatadir)
|
2020-07-13 11:29:03 +00:00
|
|
|
|
|
|
|
# icons
|
|
|
|
icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
|
|
|
|
|
|
|
foreach size: ['scalable', 'symbolic']
|
2020-12-15 12:31:38 +00:00
|
|
|
install_subdir('data/' + size, install_dir: icontheme_dir)
|
2020-07-13 11:29:03 +00:00
|
|
|
endforeach
|