Skip to content

Commit

Permalink
icons: Ensure all icons are accounted for
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeydoherty committed Apr 19, 2018
1 parent bc43a43 commit c623846
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions icons/meson.build
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
icons_dir = join_paths(path_datadir, 'icons', 'hicolor')

# Install the places icons
places_icon_sizes = [
icon_sizes = [
'16x16',
'24x24',
'32x32',
'48x48',
'64x64',
'96x96',
'256x256',
'512x512',
'scalable',
]

foreach icon_size : ['256x256', '512x512', 'scalable']
# Install the places icons
foreach icon_size : icon_sizes
if icon_size == 'scalable'
suffix = '.svg'
else
Expand All @@ -26,19 +32,7 @@ endforeach


# Install the mimetypes icons
mime_icon_sizes = [
'16x16',
'24x24',
'32x32',
'48x48',
'64x64',
'96x96',
'256x256',
'512x512',
'scalable',
]

foreach icon_size : mime_icon_sizes
foreach icon_size : icon_sizes
if icon_size == 'scalable'
suffix = '.svg'
else
Expand Down

0 comments on commit c623846

Please sign in to comment.