Add app icons, screenshots, and complete AppStream metainfo

This commit is contained in:
2026-03-01 14:46:41 +02:00
parent 91efff75bc
commit 6b41f63d12
21 changed files with 159 additions and 1265 deletions

View File

@@ -2,7 +2,7 @@ project(
'driftwood',
'rust',
version: '0.1.0',
license: 'GPL-3.0-or-later',
license: 'CC0-1.0',
meson_version: '>= 0.62.0',
)
@@ -28,12 +28,25 @@ install_data(
install_dir: datadir / 'metainfo',
)
# Install app icons
install_data(
'data' / 'icons' / 'hicolor' / 'scalable' / 'apps' / app_id + '.svg',
install_dir: iconsdir / 'hicolor' / 'scalable' / 'apps',
)
install_data(
'data' / 'icons' / 'hicolor' / 'symbolic' / 'apps' / app_id + '-symbolic.svg',
install_dir: iconsdir / 'hicolor' / 'symbolic' / 'apps',
)
# Compile and install GSettings schema
install_data(
'data' / app_id + '.gschema.xml',
install_dir: datadir / 'glib-2.0' / 'schemas',
)
gnome.post_install(glib_compile_schemas: true)
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
)
# Build the Rust binary via Cargo
cargo = find_program('cargo')