aboutsummaryrefslogtreecommitdiff
path: root/common/meson.build
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-02 21:57:13 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-04 18:47:48 -0400
commita28730edee1896242012f80fd0e63e7966652e02 (patch)
treee85d2479ce1b77e23b3c3e34c1d9e0bf87ed30f0 /common/meson.build
parent3852a710ca62a76f4fd9c6ff9d28e7e5d5fcf78d (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
)