summaryrefslogtreecommitdiff
path: root/pkg/mpv/gen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mpv/gen.lua')
-rw-r--r--pkg/mpv/gen.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/mpv/gen.lua b/pkg/mpv/gen.lua
index 9fc2d075..36268e07 100644
--- a/pkg/mpv/gen.lua
+++ b/pkg/mpv/gen.lua
@@ -36,7 +36,10 @@ pkg.deps = {
build('copy', '$outdir/video/out/wayland/xdg-shell.h', '$builddir/pkg/wayland-protocols/include/xdg-shell-client-protocol.h')
build('copy', '$outdir/video/out/wayland/idle-inhibit-v1.h', '$builddir/pkg/wayland-protocols/include/idle-inhibit-unstable-v1-client-protocol.h')
-waylandproto('video/out/wayland/server-decoration.xml', 'video/out/wayland/srv-decor.h', nil, 'video/out/wayland/srv-decor.c')
+waylandproto('video/out/wayland/server-decoration.xml', {
+ client='video/out/wayland/srv-decor.h',
+ code='video/out/wayland/srv-decor.c',
+})
rule('file2string', '$outdir/file2string $in >$out.tmp && mv $out.tmp $out')
local function file2string(out, inp)