meson: fix syntax errors in packages/meson.build
This commit is contained in:
parent
1a133cd567
commit
a9dfafd37a
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue