aboutsummaryrefslogtreecommitdiff
path: root/swaybg/meson.build
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-27 15:25:25 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-28 14:25:19 -0400
commit632bb948b7ffbb08a6e965dabf88347afd0a1fa8 (patch)
treecbd9d4e4e3a7c605d2b0a5e3e66ce35554a74c4b /swaybg/meson.build
parenteccf0b25987b2b194031edf3415e9f09a7ad7119 (diff)
Add solid-color rendering to swaybg
Diffstat (limited to 'swaybg/meson.build')
-rw-r--r--swaybg/meson.build18
1 files changed, 16 insertions, 2 deletions
diff --git a/swaybg/meson.build b/swaybg/meson.build
index 47315023..7f5d6bd1 100644
--- a/swaybg/meson.build
+++ b/swaybg/meson.build
@@ -1,8 +1,22 @@
+deps = [
+ cairo,
+ jsonc,
+ math,
+ pango,
+ pangocairo,
+ sway_protos,
+ wayland_client,
+]
+
+if gdk_pixbuf.found()
+ deps += [gdk_pixbuf]
+endif
+
executable(
'swaybg',
'main.c',
include_directories: [sway_inc],
- dependencies: [wayland_client, sway_protos, jsonc, wlroots],
- link_with: [lib_sway_common],
+ dependencies: deps,
+ link_with: [lib_sway_common, lib_sway_client],
install: true
)