... | ... | @@ -157,15 +157,12 @@ option( |
|
|
### Icons handling
|
|
|
To install icons with the proper name change to the following on your data/meson.build:
|
|
|
```python
|
|
|
foreach icon_size: ['16x16', '22x22', '24x24', '32x32', '48x48', '512x512']
|
|
|
icondir = join_paths('icons', 'hicolor', icon_size, 'apps')
|
|
|
|
|
|
install_data(
|
|
|
join_paths(icondir, 'org.gnome.AppName.png'),
|
|
|
install_dir: join_paths(datadir, icondir),
|
|
|
rename: '@0@.png'.format(application_id)
|
|
|
)
|
|
|
endforeach
|
|
|
icondir = join_paths('icons', 'hicolor', 'scalable', 'apps')
|
|
|
install_data(
|
|
|
join_paths(icondir, 'org.gnome.AppName.svg'),
|
|
|
install_dir: join_paths(datadir, icondir),
|
|
|
rename: '@0@.png'.format(application_id)
|
|
|
)
|
|
|
|
|
|
icondir = join_paths('icons', 'hicolor', 'symbolic', 'apps')
|
|
|
|
... | ... | |