2016-08-21 14:00:37 +00:00
|
|
|
iconbrowser_sources = [
|
|
|
|
'main.c',
|
|
|
|
'iconbrowserapp.c',
|
|
|
|
'iconbrowserwin.c',
|
|
|
|
'iconstore.c'
|
|
|
|
]
|
|
|
|
|
2017-03-12 16:54:44 +00:00
|
|
|
iconbrowser_resources = gnome.compile_resources('iconbrowser_resources',
|
2017-04-26 16:04:20 +00:00
|
|
|
'iconbrowser.gresource.xml',
|
|
|
|
source_dir: '.')
|
2016-08-21 14:00:37 +00:00
|
|
|
|
2017-03-12 16:54:44 +00:00
|
|
|
executable('gtk4-icon-browser',
|
2017-04-26 16:04:20 +00:00
|
|
|
iconbrowser_sources, iconbrowser_resources,
|
|
|
|
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
|
|
|
|
2019-04-02 00:24:12 +00:00
|
|
|
install_data('org.gtk.IconBrowser4.desktop', install_dir: gtk_applicationsdir)
|
2019-02-09 02:38:14 +00:00
|
|
|
|
|
|
|
# icons
|
|
|
|
icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
|
|
|
|
|
|
|
foreach size: ['scalable', 'symbolic']
|
|
|
|
install_subdir('data/' + size,
|
|
|
|
install_dir: icontheme_dir
|
|
|
|
)
|
|
|
|
endforeach
|