meson: fix syntax errors in packages/meson.build

This commit is contained in:
Ryan Lucia 2019-02-11 19:28:58 -05:00
parent 1a133cd567
commit a9dfafd37a

View file

@ -10,10 +10,11 @@ else
install_dir: get_option('datadir') / 'applications') install_dir: get_option('datadir') / 'applications')
endif endif
foreach s: ['16x16.png', '22x22.png', '24x24.png', '32x32.png', aegisub_logos = ['16x16.png', '22x22.png', '24x24.png', '32x32.png', '48x48.png', '64x64.png', 'scalable.svg']
'48x48.png', '64x64.png', 'scalable.svg']
foreach s: aegisub_logos
dir = s.split('.')[0] dir = s.split('.')[0]
ext = s.split('.')[1] ext = s.split('.')[1]
install_data('desktop' / dir / 'aegisub.' + ext), install_data('desktop' / dir / 'aegisub.' + ext,
install_dir: get_option('datadir') / 'icons' / 'hicolor' / dir / 'apps') install_dir: get_option('datadir') / 'icons' / 'hicolor' / dir / 'apps')
endforeach endforeach