summaryrefslogtreecommitdiffstats
path: root/panels/meson.build
blob: cb732f2e7907b7c01c9dd2f1be77fa60c41e92ba (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
subdir('common')

panels = [
  'applications',
  'background',
  'camera',
  'color',
  'datetime',
  'default-apps',
  'diagnostics',
  'display',
  'firmware-security',
  'info-overview',
  'keyboard',
  'location',
  'microphone',
  'mouse',
  'multitasking',
  'notifications',
  'online-accounts',
  'power',
  'printers',
  'region',
  'removable-media',
  'screen',
  'search',
  'sharing',
  'sound',
  'universal-access',
  'usage',
  'user-accounts',
 'wwan',
]

if host_is_linux
  panels += ['network']
endif

if host_is_linux_not_s390
  panels += [
    'bluetooth',
    'thunderbolt',
    'wacom'
  ]
endif

panels_list = []
panels_libs = []
foreach cappletname: panels
  cflags = [
    '-DG_LOG_DOMAIN="@0@-cc-panel"'.format(cappletname),
    '-DPANEL_ID="@0@"'.format(cappletname)
  ]

  subdir(cappletname)
endforeach