2020-09-13 14:39:34 -07:00
|
|
|
colorschemes_desc = [
|
2020-09-27 03:50:45 -07:00
|
|
|
'Mild.json',
|
2020-09-27 03:49:25 -07:00
|
|
|
'Mustang.json',
|
2020-09-24 14:52:46 -07:00
|
|
|
'Nord.json',
|
2020-09-26 08:30:50 -07:00
|
|
|
'Ocean Dark.json',
|
2020-09-24 14:52:46 -07:00
|
|
|
'PaperColor.json',
|
2020-09-27 08:20:23 -07:00
|
|
|
'Smyck.json',
|
2020-09-25 14:09:18 -07:00
|
|
|
'Solarized.json',
|
|
|
|
'Solarized Light.json',
|
2020-09-13 14:39:34 -07:00
|
|
|
]
|
|
|
|
cs_builder = [join_paths(meson.source_root(),
|
|
|
|
'data', 'colorschemes', 'builder.sh'),
|
|
|
|
eet_bin, '@OUTPUT@', '@INPUT@']
|
|
|
|
cs_install_dir = join_paths(get_option('datadir'),
|
|
|
|
meson.project_name())
|
|
|
|
|
|
|
|
|
|
|
|
custom_target('colorschemes.eet',
|
|
|
|
install:true,
|
|
|
|
install_dir: cs_install_dir,
|
|
|
|
install_mode: 'rw-r--r--',
|
2020-09-28 14:48:10 -07:00
|
|
|
depend_files: ['builder.sh', 'json2desc.py'],
|
2020-09-13 14:39:34 -07:00
|
|
|
command: cs_builder,
|
|
|
|
input: colorschemes_desc,
|
|
|
|
output: 'colorschemes.eet')
|