commit bf83458
hovercats
·
2026-07-29 19:47:22 +0000 UTC
parent 5a18403
wawa: create the wlr-layer-shell header instead
1 files changed,
+7,
-3
+7,
-3
1@@ -6,13 +6,17 @@ cflags{
2 '-D _POSIX_C_SOURCE=200809L',
3 '-I $outdir/include',
4 '-isystem $builddir/pkg/linux-headers/include',
5- '-isystem $builddir/pkg/neuswc/include',
6 '-isystem $builddir/pkg/wayland/include',
7 '-isystem $builddir/pkg/wayland-protocols/include',
8 }
9
10+waylandproto('wlr-layer-shell-unstable-v1.xml', {
11+ client='include/wlr-layer-shell-unstable-v1-protocol.h',
12+ code='wlr-layer-shell-unstable-v1.c',
13+})
14+
15 pkg.deps = {
16- 'pkg/neuswc/headers',
17+ '$outdir/include//wlr-layer-shell-unstable-v1-protocol.h',
18 'pkg/linux-headers/headers',
19 'pkg/wayland/headers',
20 'pkg/wayland-protocols/headers',
21@@ -20,7 +24,7 @@ pkg.deps = {
22
23 exe('wawa', {
24 'wawa.c',
25- '$builddir/pkg/neuswc/wlr-layer-shell-unstable-v1.c.o',
26+ 'wlr-layer-shell-unstable-v1.c.o',
27 '$builddir/pkg/wayland-protocols/xdg-shell-protocol.c.o',
28 '$builddir/pkg/wayland/libwayland-client.a.d',
29 '$builddir/pkg/wayland/libwayland-server.a.d',