2018-04-02 19:41:21 -06:00
|
|
|
sources = [
|
|
|
|
|
'bar.c',
|
|
|
|
|
'config.c',
|
|
|
|
|
'event_loop.c',
|
|
|
|
|
'i3bar.c',
|
|
|
|
|
'ipc.c',
|
|
|
|
|
'main.c',
|
|
|
|
|
'render.c',
|
|
|
|
|
'status_line.c'
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if enable_tray and libdbus.found()
|
|
|
|
|
sources += [
|
|
|
|
|
'tray/dbus.c',
|
|
|
|
|
'tray/icon.c',
|
|
|
|
|
'tray/sni.c',
|
|
|
|
|
'tray/sni_watcher.c',
|
|
|
|
|
'tray/tray.c'
|
|
|
|
|
]
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
executable('swaybar', sources,
|
2018-03-28 23:04:20 -04:00
|
|
|
include_directories: [sway_inc],
|
|
|
|
|
dependencies: [
|
|
|
|
|
cairo,
|
|
|
|
|
client_protos,
|
|
|
|
|
gdk_pixbuf,
|
|
|
|
|
jsonc,
|
2018-04-02 19:41:21 -06:00
|
|
|
libdbus,
|
2018-03-28 23:04:20 -04:00
|
|
|
math,
|
|
|
|
|
pango,
|
|
|
|
|
pangocairo,
|
|
|
|
|
rt,
|
|
|
|
|
wayland_client,
|
2018-03-30 21:38:28 -04:00
|
|
|
wayland_cursor,
|
2018-03-28 23:04:20 -04:00
|
|
|
wlroots,
|
|
|
|
|
],
|
|
|
|
|
link_with: [lib_sway_common, lib_sway_client],
|
|
|
|
|
install: true
|
|
|
|
|
)
|