# Desktop file installation
install_data('veil.desktop',
  install_dir: join_paths(get_option('datadir'), 'applications')
)

# Icon installation (PNG at various sizes)
icon_sizes = ['16x16', '24x24', '32x32', '48x48', '64x64', '128x128', '256x256', '512x512']

foreach size : icon_sizes
  install_data(
    join_paths('icons/hicolor', size, 'apps/veil.png'),
    install_dir: join_paths(get_option('datadir'), 'icons/hicolor', size, 'apps')
  )
endforeach
