mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
Port swaybar tray files to 0.15 and fix compiling
This commit is contained in:
parent
d3eaf6468c
commit
a20f21281f
15 changed files with 2354 additions and 34 deletions
|
|
@ -19,6 +19,8 @@ datadir = get_option('datadir')
|
|||
sysconfdir = get_option('sysconfdir')
|
||||
prefix = get_option('prefix')
|
||||
|
||||
enable_tray = get_option('enable_tray')
|
||||
|
||||
jsonc = dependency('json-c', version: '>=0.13')
|
||||
pcre = dependency('libpcre')
|
||||
wlroots = dependency('wlroots', fallback: ['wlroots', 'wlroots'])
|
||||
|
|
@ -35,6 +37,7 @@ gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: false)
|
|||
pixman = dependency('pixman-1')
|
||||
libcap = dependency('libcap')
|
||||
libinput = dependency('libinput')
|
||||
libdbus = dependency('dbus-1', required: false)
|
||||
math = cc.find_library('m')
|
||||
rt = cc.find_library('rt')
|
||||
git = find_program('git', required: false)
|
||||
|
|
@ -46,6 +49,10 @@ if gdk_pixbuf.found()
|
|||
conf_data.set('HAVE_GDK_PIXBUF', true)
|
||||
endif
|
||||
|
||||
if enable_tray and libdbus.found()
|
||||
conf_data.set('ENABLE_TRAY', true)
|
||||
endif
|
||||
|
||||
if a2x.found()
|
||||
mandir = get_option('mandir')
|
||||
man_files = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue