Merge branch 'mangowm:wl-only' into wl-only

This commit is contained in:
CtrlLuzzio 2026-06-18 20:21:19 -04:00 committed by GitHub
commit 5b58df6650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 1676 additions and 100 deletions

View file

@ -26,6 +26,7 @@ endif
cc = meson.get_compiler('c')
libm = cc.find_library('m')
libdrm = dependency('libdrm')
xcb = dependency('xcb', required : get_option('xwayland'))
xlibs = dependency('xcb-icccm', required : get_option('xwayland'))
wlroots_dep = dependency('wlroots-0.20',version: '>=0.20.0')
@ -36,6 +37,7 @@ libwayland_client_dep = dependency('wayland-client')
pcre2_dep = dependency('libpcre2-8')
pixman_dep = dependency('pixman-1')
cjson_dep = dependency('libcjson')
pangocairo_dep = dependency('pangocairo')
# version info
git = find_program('git', required : false)
@ -93,9 +95,11 @@ endif
executable('mango-wl',
'src/mango.c',
'src/common/util.c',
'src/draw/text-node.c',
wayland_sources,
dependencies : [
libm,
libdrm,
xcb,
xlibs,
wayland_server_dep,
@ -106,6 +110,7 @@ executable('mango-wl',
pcre2_dep,
pixman_dep,
cjson_dep,
pangocairo_dep,
],
install : true,
c_args : c_args,