sway/swaybar/meson.build

43 lines
583 B
Meson
Raw Permalink Normal View History

2019-01-17 17:02:25 +00:00
tray_files = have_tray ? [
'tray/host.c',
'tray/icon.c',
'tray/item.c',
2018-10-28 10:25:47 +00:00
'tray/tray.c',
'tray/watcher.c'
2018-10-28 10:25:47 +00:00
] : []
swaybar_deps = [
cairo,
gdk_pixbuf,
jsonc,
math,
pango,
pangocairo,
rt,
wayland_client,
wayland_cursor
2018-10-28 10:25:47 +00:00
]
2019-01-17 17:02:25 +00:00
if have_tray
swaybar_deps += sdbus
2018-10-28 10:25:47 +00:00
endif
executable(
2018-03-31 01:38:28 +00:00
'swaybar', [
'bar.c',
'config.c',
'i3bar.c',
'image.c',
'input.c',
2018-03-29 03:56:02 +00:00
'ipc.c',
'main.c',
'render.c',
'status_line.c',
tray_files,
wl_protos_src,
],
include_directories: [sway_inc],
2018-10-28 10:25:47 +00:00
dependencies: swaybar_deps,
link_with: [lib_sway_common, lib_sway_client],
install: true
)