|
|
@ -35,29 +35,29 @@ if is_freebsd
|
|
|
|
add_project_arguments('-D_C11_SOURCE', language: 'c')
|
|
|
|
add_project_arguments('-D_C11_SOURCE', language: 'c')
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
jsonc = dependency('json-c', version: '>=0.13')
|
|
|
|
jsonc = dependency('json-c', version: '>=0.13')
|
|
|
|
pcre = dependency('libpcre')
|
|
|
|
pcre = dependency('libpcre')
|
|
|
|
wayland_server = dependency('wayland-server')
|
|
|
|
wayland_server = dependency('wayland-server')
|
|
|
|
wayland_client = dependency('wayland-client')
|
|
|
|
wayland_client = dependency('wayland-client')
|
|
|
|
wayland_cursor = dependency('wayland-cursor')
|
|
|
|
wayland_cursor = dependency('wayland-cursor')
|
|
|
|
wayland_egl = dependency('wayland-egl')
|
|
|
|
wayland_egl = dependency('wayland-egl')
|
|
|
|
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
|
|
|
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
|
|
|
|
xkbcommon = dependency('xkbcommon')
|
|
|
|
xkbcommon = dependency('xkbcommon')
|
|
|
|
cairo = dependency('cairo')
|
|
|
|
cairo = dependency('cairo')
|
|
|
|
pango = dependency('pango')
|
|
|
|
pango = dependency('pango')
|
|
|
|
pangocairo = dependency('pangocairo')
|
|
|
|
pangocairo = dependency('pangocairo')
|
|
|
|
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf'))
|
|
|
|
gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf'))
|
|
|
|
pixman = dependency('pixman-1')
|
|
|
|
pixman = dependency('pixman-1')
|
|
|
|
glesv2 = dependency('glesv2')
|
|
|
|
glesv2 = dependency('glesv2')
|
|
|
|
libevdev = dependency('libevdev')
|
|
|
|
libevdev = dependency('libevdev')
|
|
|
|
libinput = dependency('libinput', version: '>=1.6.0')
|
|
|
|
libinput = dependency('libinput', version: '>=1.6.0')
|
|
|
|
xcb = dependency('xcb', required: get_option('xwayland'))
|
|
|
|
xcb = dependency('xcb', required: get_option('xwayland'))
|
|
|
|
drm_full = dependency('libdrm') # only needed for drm_fourcc.h
|
|
|
|
drm_full = dependency('libdrm') # only needed for drm_fourcc.h
|
|
|
|
drm = drm_full.partial_dependency(compile_args: true, includes: true)
|
|
|
|
drm = drm_full.partial_dependency(compile_args: true, includes: true)
|
|
|
|
bash_comp = dependency('bash-completion', required: false)
|
|
|
|
bash_comp = dependency('bash-completion', required: false)
|
|
|
|
fish_comp = dependency('fish', required: false)
|
|
|
|
fish_comp = dependency('fish', required: false)
|
|
|
|
math = cc.find_library('m')
|
|
|
|
math = cc.find_library('m')
|
|
|
|
rt = cc.find_library('rt')
|
|
|
|
rt = cc.find_library('rt')
|
|
|
|
|
|
|
|
|
|
|
|
# Try first to find wlroots as a subproject, then as a system dependency
|
|
|
|
# Try first to find wlroots as a subproject, then as a system dependency
|
|
|
|
wlroots_version = ['>=0.12.0', '<0.13.0']
|
|
|
|
wlroots_version = ['>=0.12.0', '<0.13.0']
|
|
|
|