meson.build: install badges for labwc and migrate to data/

A .desktop file was previously added for the labwc session, this adds a
badge for it where it is supported. The .desktop files and the badges
are also moved to `data/`.

Ref: #36, 9fa783e, labwc/labwc-artwork#7
This commit is contained in:
Rick Calixte 2024-01-22 14:44:58 -05:00 committed by Johan Malm
parent d8dce49244
commit 14f5733584
4 changed files with 24 additions and 1 deletions

View file

@ -134,4 +134,10 @@ executable(
install: true,
)
install_data('docs/labwc.desktop', install_dir: get_option('datadir') / 'wayland-sessions')
install_data('data/labwc.desktop', install_dir: get_option('datadir') / 'wayland-sessions')
icons = ['labwc-symbolic.svg', 'labwc.svg']
foreach icon : icons
icon_path = join_paths('data', icon)
install_data(icon_path, install_dir: get_option('datadir') / 'icons/hicolor/scalable/apps')
endforeach