mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
c7b345f73e
We want to use the same header in the inspector, so move it to the toplevel. And since it is no longer for demos only, rename it to profile_conf.h, and also rename the build option back to profile.
41 lines
1015 B
Meson
41 lines
1015 B
Meson
node_editor_sources = [
|
|
'gtkrendererpaintable.c',
|
|
'main.c',
|
|
'node-editor-application.c',
|
|
'node-editor-window.c',
|
|
]
|
|
|
|
node_editor_resources = gnome.compile_resources('node_editor_resources',
|
|
'node-editor.gresource.xml',
|
|
source_dir: meson.current_source_dir(),
|
|
)
|
|
|
|
executable('gtk4-node-editor',
|
|
sources: [node_editor_sources, node_editor_resources],
|
|
dependencies: [ libgtk_dep, profile_conf_h ],
|
|
include_directories: confinc,
|
|
c_args: common_cflags,
|
|
win_subsystem: 'windows',
|
|
link_args: extra_demo_ldflags,
|
|
install: true,
|
|
)
|
|
|
|
# icons
|
|
icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
|
|
|
foreach size: ['scalable', 'symbolic']
|
|
install_subdir('data/' + size, install_dir: icontheme_dir)
|
|
endforeach
|
|
|
|
# desktop file
|
|
install_data('org.gtk.gtk4.NodeEditor.desktop', install_dir: gtk_applicationsdir)
|
|
|
|
# appdata
|
|
configure_file(
|
|
input: 'org.gtk.gtk4.NodeEditor.appdata.xml.in',
|
|
output: 'org.gtk.gtk4.NodeEditor.appdata.xml',
|
|
configuration: appdata_config,
|
|
install_dir: gtk_appdatadir
|
|
)
|
|
|