Add theme validator

Recursively loads a given theme file.
This commit is contained in:
Guido Günther
2022-12-12 16:13:38 +01:00
parent ef5dd5abca
commit b64ce1290c
3 changed files with 100 additions and 0 deletions
+2
View File
@@ -28,6 +28,7 @@ endif
prefix = get_option('prefix')
bindir = join_paths(prefix, get_option('bindir'))
datadir = join_paths(prefix, get_option('datadir'))
libdir = join_paths(prefix, get_option('libdir'))
girdir = join_paths(prefix, join_paths(datadir, 'gir-1.0'))
@@ -90,6 +91,7 @@ endif
global_c_args = [
'-DFEEDBACKD_THEME_DIR="@0@"'.format(feedbackd_theme_dir),
'-DLIBFEEDBACK_COMPILATION',
'-DFBD_VERSION="@0@"'.format(meson.project_version()),
]
add_project_arguments(