Loupe/data/icons/meson.build
Sophie Herold bf9392e8a2 config: Use env instead of code generation
Code generation messes with the actual source directory and makes it
impossible to use tools like clippy without having generated the config
via meson.
2024-09-27 20:54:04 +02:00

14 lines
No EOL
363 B
Meson

scalable_dir = 'hicolor' / 'scalable' / 'apps'
install_data(
scalable_dir / '@0@.svg'.format(app_id),
install_dir: datadir / 'icons' / scalable_dir,
)
symbolic_dir = 'hicolor' / 'symbolic' / 'apps'
install_data(
symbolic_dir / 'org.gnome.Loupe-symbolic.svg',
install_dir: datadir / 'icons' / symbolic_dir,
rename: '@0@-symbolic.svg'.format(app_id),
)