Debian Codegraph @

light/gtk-4.0/meson.build

raw
1 gtk4_dir = join_paths(theme_path, 'gtk-4.0')
2
3 # theme sources .scss files
4
5 # The files that need to be compiled
6 gtk4_scss_sources = [
7 'gtk',
8 'gtk-dark'
9 ]
10
11 # Dependencies of the files that need to be compiled
12 gtk4_scss_dependencies = [
13 '_colors-public.scss',
14 '_colors.scss',
15 '_common.scss',
16 '_drawing.scss',
17 ]
18
19 # Generate .css files and install
20 gtk4_scss_dependencies = files(gtk4_scss_dependencies)
21 #
22 foreach f : gtk4_scss_sources
23 custom_target('greybird-generate_' + f,
24 input: f + '.scss',
25 output: f + '.css',
26 depend_files: gtk4_scss_dependencies,
27 command: [sassc, '-M', '-t', 'compact', '@INPUT@', '@OUTPUT@'],
28 build_by_default: true,
29 install: true,
30 install_dir: gtk4_dir,
31 )
32 endforeach
33
34 # Install asset files to themes/ThemeName/gtk-4.0/assets
35 install_subdir('assets', install_dir : gtk4_dir, strip_directory : false)