File: meson.build

package info (click to toggle)
feedbackd-device-themes 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 244 kB
  • sloc: makefile: 9
file content (27 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
theme_json = [
  'google,sargo.json',
  'oneplus,enchilada.json',
  'oneplus,fajita.json',
  'pine64,pinephone.json',
  'pine64,pinephone-pro.json',
  'purism,librem5.json',
  'samsung,midas.json',
  'shift,axolotl.json',
  'xiaomi,beryllium.json',
]

install_data(theme_json, install_dir: feedbackd_theme_dir)

if json_glib_validate.found()
  jsons = []
  foreach theme : theme_json
    jsons += (join_paths(meson.current_source_dir(), theme))
  endforeach
  custom_target(
    'validate-json',
    build_by_default: true,
    input: theme_json,
    output: 'json_validate_stamp',
    command: [json_glib_validate.path()] + jsons,
  )
endif