meson: demos: disable add_install_script() calls that don't work right yet

Errors out. Might really wants a script and not a binary.
This commit is contained in:
Tim-Philipp Müller 2017-03-19 14:22:33 +00:00 committed by Emmanuele Bassi
parent a0c207614a
commit 7966ab6001
2 changed files with 10 additions and 8 deletions

View File

@ -124,10 +124,11 @@ endforeach
# TODO: uninstall script, once we have an uninstall target (Meson issue)
# TODO: should we be able to pass a locally-built exe here? (Meson issue)
if not meson.is_cross_build() or meson.has_exe_wrapper()
meson.add_install_script(gtk_update_icon_cache.full_path(),
'--ignore-theme-index',
'--force',
icontheme_dir)
# FIXME: this errors out, probably needs to be done differently or with wrapper script
#meson.add_install_script(gtk_update_icon_cache.full_path(),
# '--ignore-theme-index',
# '--force',
# icontheme_dir)
endif
# desktop file

View File

@ -30,8 +30,9 @@ foreach icon_size : ['16x16', '22x22', '24x24', '32x32', '48x48', '256x256']
endforeach
if not meson.is_cross_build() or meson.has_exe_wrapper()
meson.add_install_script(gtk_update_icon_cache.full_path(),
'--ignore-theme-index',
'--force',
icontheme_dir)
# FIXME: this errors out, probably needs to be done differently or with wrapper script
#meson.add_install_script(gtk_update_icon_cache.full_path(),
# '--ignore-theme-index',
# '--force',
# icontheme_dir)
endif