gnome-control-center/panels/meson.build
Georges Basile Stavracas Neto 1245fd787b
Introduce Applications panel
This is an initial implementation of most of the
intended functionality for this panel. Flatpak
integration itself is implemented by spawning
"flatpak info -m $appid", which gives us the
metadata in key file format, and allows flatpak
to be a runtime dependency.

Even after removing the .desktop suffix, there can
still be a difference between the app ID generated
in this way and the flatpak ID, since flatpaks are
allowed to export files whose prefix is the flatpak
ID. Fix this by pulling the X-Flatpak key out of
the desktop file. This would cause trouble for
org.libreoffice.LibreOffice-math.
2019-01-07 10:59:30 -02:00

46 lines
665 B
Meson

subdir('common')
panels = [
'applications',
'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',
'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