Add solid-color rendering to swaybg

This commit is contained in:
Drew DeVault 2018-03-27 15:25:25 -04:00
parent eccf0b2598
commit 632bb948b7
11 changed files with 550 additions and 39 deletions

View file

@ -27,7 +27,10 @@ wayland_client = dependency('wayland-client')
wayland_egl = dependency('wayland-egl')
wayland_protos = dependency('wayland-protocols')
xkbcommon = dependency('xkbcommon')
cairo = dependency('cairo')
pango = dependency('pango')
pangocairo = dependency('pangocairo')
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: false)
pixman = dependency('pixman-1')
libcap = dependency('libcap')
libinput = dependency('libinput')
@ -35,6 +38,10 @@ math = cc.find_library('m')
git = find_program('git', required: false)
a2x = find_program('a2x', required: false)
if gdk_pixbuf.found()
add_project_arguments('-DWITH_GDK_PIXBUF', language : 'c')
endif
if a2x.found()
mandir = get_option('mandir')
man_files = [
@ -89,6 +96,7 @@ subdir('protocols')
subdir('common')
subdir('sway')
subdir('swaymsg')
subdir('client')
subdir('swaybg')
config = configuration_data()