mirror of
https://github.com/swaywm/sway.git
synced 2026-03-09 05:34:13 -04:00
Add solid-color rendering to swaybg
This commit is contained in:
parent
eccf0b2598
commit
632bb948b7
11 changed files with 550 additions and 39 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue