Revert "Revert "build: Don't loop over icons""

This reverts commit 37799d64ca
This commit is contained in:
Carlos Soriano 2018-09-14 05:12:34 +00:00
parent 564b9dcbd7
commit 76b84467ad

View file

@ -1,12 +1,9 @@
foreach icon_size: ['scalable'] icondir = join_paths('icons', 'hicolor', 'scalable', 'apps')
icondir = join_paths('icons', 'hicolor', icon_size, 'apps') install_data(
join_paths(icondir, 'org.gnome.Nautilus.svg'),
install_data( install_dir: join_paths(datadir, icondir),
join_paths(icondir, 'org.gnome.Nautilus.svg'), rename: '@0@.svg'.format(application_id)
install_dir: join_paths(datadir, icondir), )
rename: '@0@.svg'.format(application_id)
)
endforeach
icondir = join_paths('icons', 'hicolor', 'symbolic', 'apps') icondir = join_paths('icons', 'hicolor', 'symbolic', 'apps')