sway/swaybar/meson.build
Felix Weilbach fffe886a14
Tray: Implement dbusmenu
Co-authored-by: Ian Fan <ianfan0@gmail.com>
Co-authored-by: Nathan Schulte <nmschulte@gmail.com>

Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
2024-10-24 09:03:02 -03:00

44 lines
603 B
Meson

tray_files = have_tray ? [
'tray/host.c',
'tray/icon.c',
'tray/item.c',
'tray/tray.c',
'tray/watcher.c',
'tray/dbusmenu.c'
] : []
swaybar_deps = [
cairo,
gdk_pixbuf,
jsonc,
math,
pango,
pangocairo,
rt,
wayland_client,
wayland_cursor
]
if have_tray
swaybar_deps += sdbus
endif
executable(
'swaybar', [
'bar.c',
'config.c',
'i3bar.c',
'image.c',
'input.c',
'ipc.c',
'main.c',
'render.c',
'status_line.c',
tray_files,
wl_protos_src,
],
include_directories: [sway_inc],
dependencies: swaybar_deps,
link_with: [lib_sway_common, lib_sway_client],
install: true
)