diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson.build b/meson.build index f27ac451..b681f43a 100644 --- a/meson.build +++ b/meson.build | |||
@@ -27,7 +27,10 @@ wayland_client = dependency('wayland-client') | |||
27 | wayland_egl = dependency('wayland-egl') | 27 | wayland_egl = dependency('wayland-egl') |
28 | wayland_protos = dependency('wayland-protocols') | 28 | wayland_protos = dependency('wayland-protocols') |
29 | xkbcommon = dependency('xkbcommon') | 29 | xkbcommon = dependency('xkbcommon') |
30 | cairo = dependency('cairo') | ||
30 | pango = dependency('pango') | 31 | pango = dependency('pango') |
32 | pangocairo = dependency('pangocairo') | ||
33 | gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: false) | ||
31 | pixman = dependency('pixman-1') | 34 | pixman = dependency('pixman-1') |
32 | libcap = dependency('libcap') | 35 | libcap = dependency('libcap') |
33 | libinput = dependency('libinput') | 36 | libinput = dependency('libinput') |
@@ -35,6 +38,12 @@ math = cc.find_library('m') | |||
35 | git = find_program('git', required: false) | 38 | git = find_program('git', required: false) |
36 | a2x = find_program('a2x', required: false) | 39 | a2x = find_program('a2x', required: false) |
37 | 40 | ||
41 | conf_data = configuration_data() | ||
42 | |||
43 | if gdk_pixbuf.found() | ||
44 | conf_data.set('HAVE_GDK_PIXBUF', true) | ||
45 | endif | ||
46 | |||
38 | if a2x.found() | 47 | if a2x.found() |
39 | mandir = get_option('mandir') | 48 | mandir = get_option('mandir') |
40 | man_files = [ | 49 | man_files = [ |
@@ -85,9 +94,13 @@ add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c') | |||
85 | 94 | ||
86 | sway_inc = include_directories('include') | 95 | sway_inc = include_directories('include') |
87 | 96 | ||
97 | subdir('include') | ||
98 | subdir('protocols') | ||
88 | subdir('common') | 99 | subdir('common') |
89 | subdir('sway') | 100 | subdir('sway') |
90 | subdir('swaymsg') | 101 | subdir('swaymsg') |
102 | subdir('client') | ||
103 | subdir('swaybg') | ||
91 | 104 | ||
92 | config = configuration_data() | 105 | config = configuration_data() |
93 | config.set('sysconfdir', join_paths(prefix, sysconfdir)) | 106 | config.set('sysconfdir', join_paths(prefix, sysconfdir)) |