meson.build
ASCII text
1
foreach theme: themes
2
chrome_dir = join_paths(theme['dir'], 'chrome')
3
4
if theme['color'] != '-dark'
5
chrome_scrollbar_color = ''
6
else
7
chrome_scrollbar_color = '-dark'
8
endif
9
10
install_data(
11
'chrome-scrollbar@0@.crx'.format(chrome_scrollbar_color),
12
rename: 'chrome-scrollbar.crx',
13
install_dir: chrome_dir,
14
)
15
16
install_data(
17
'chrome-theme@0@.crx'.format(theme['color']),
18
rename: 'chrome-theme.crx',
19
install_dir: chrome_dir,
20
)
21
endforeach
22