feat: text node support

This commit is contained in:
DreamMaoMao 2026-06-16 18:59:25 +08:00
parent 24fb167ae6
commit 5c6cf39901
4 changed files with 188 additions and 0 deletions

View file

@ -37,6 +37,9 @@ pcre2_dep = dependency('libpcre2-8')
libscenefx_dep = dependency('scenefx-0.4',version: '>=0.4.1')
pixman_dep = dependency('pixman-1')
cjson_dep = dependency('libcjson')
cairo_dep = dependency('cairo')
pango_dep = dependency('pango')
pangocairo_dep = dependency('pangocairo')
# version info
git = find_program('git', required : false)
@ -94,6 +97,7 @@ endif
executable('mango',
'src/mango.c',
'src/common/util.c',
'src/draw/text-node.c',
'src/ext-protocol/wlr_ext_workspace_v1.c',
wayland_sources,
dependencies : [
@ -109,6 +113,9 @@ executable('mango',
pcre2_dep,
pixman_dep,
cjson_dep,
cairo_dep,
pango_dep,
pangocairo_dep,
],
install : true,
c_args : c_args,