meson: enable_x11 -> backend_x11, enable_wayland -> backend_wayland

This commit is contained in:
Daniel Eklöf 2019-05-06 21:45:01 +02:00
parent 8135313396
commit 121b2f1575
3 changed files with 9 additions and 11 deletions

View file

@ -1,14 +1,12 @@
bar_backends = []
# TODO: X11
if enable_x11
if backend_x11
bar_x11 = declare_dependency(sources: ['xcb.c', 'xcb.h'],
dependencies: [xcb_stuff, cairo, cairo_ft])
bar_backends += [bar_x11]
endif
# TODO: conditional Wayland
if enable_wayland
if backend_wayland
wayland_protocols = dependency('wayland-protocols')
wayland_protocols_datadir = wayland_protocols.get_pkgconfig_variable('pkgdatadir')