summaryrefslogtreecommitdiff
path: root/pkg/wayland-protocols/gen.lua
blob: 29120c23c9e4853c04dbb6cc0c05e89afd6f15f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cflags{'-I $builddir/pkg/wayland/include'}

waylandproto('unstable/xdg-shell/xdg-shell-unstable-v5.xml',
	'include/xdg-shell-unstable-v5-client-protocol.h',
	'include/xdg-shell-unstable-v5-server-protocol.h',
	'xdg-shell-unstable-v5-protocol.c'
)

pkg.hdrs = {
	'$outdir/include/xdg-shell-unstable-v5-client-protocol.h',
	'$outdir/include/xdg-shell-unstable-v5-server-protocol.h',
}

fetch 'git'