aboutsummaryrefslogtreecommitdiff
path: root/common/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-04-02 21:57:13 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-04-02 21:57:13 -0400
commit029a7070f83b8fc3dae76dd8e26c3c6dbd0289c3 (patch)
treee85d2479ce1b77e23b3c3e34c1d9e0bf87ed30f0 /common/meson.build
parentc90aece43f7292613192c5969fa2de2031908b11 (diff)
Move swaybg background rendering into common/
swaylock will use it too
Diffstat (limited to 'common/meson.build')
-rw-r--r--common/meson.build20
1 files changed, 8 insertions, 12 deletions
diff --git a/common/meson.build b/common/meson.build
index 4ad47077..851e7bbf 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -1,17 +1,7 @@
-deps = [
- cairo,
- pango,
- pangocairo,
- wlroots
-]
-
-if gdk_pixbuf.found()
- deps += [gdk_pixbuf]
-endif
-
lib_sway_common = static_library(
'sway-common',
files(
+ 'background-image.c',
'cairo.c',
'ipc-client.c',
'log.c',
@@ -21,6 +11,12 @@ lib_sway_common = static_library(
'stringop.c',
'util.c'
),
- dependencies: deps,
+ dependencies: [
+ cairo,
+ gdk_pixbuf,
+ pango,
+ pangocairo,
+ wlroots
+ ],
include_directories: sway_inc
)