gnome-control-center/panels/meson.build
Iñigo Martínez 3afdaa3b2f build: Make network mandatory on every linux
In a recent commit[0], bluetooth, network and wacom panels were made
mandatory on every linux except on S390 systems. However, the
network panel should also be mandatory on S390 systems running
linux.

This changes the conditions to build bluetooh, network and wacom
panels.

https://bugzilla.gnome.org/show_bug.cgi?id=792641

[0] https://git.gnome.org/browse/gnome-control-center/commit/?id=a2b20a65c
2018-01-23 12:42:38 -02:00

44 lines
628 B
Meson

subdir('common')
panels = [
'background',
'color',
'datetime',
'display',
'info',
'keyboard',
'mouse',
'notifications',
'online-accounts',
'power',
'printers',
'privacy',
'region',
'search',
'sharing',
'sound',
'universal-access',
'user-accounts'
]
if host_is_linux
panels += ['network']
endif
if host_is_linux_not_s390
panels += [
'bluetooth',
'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