diff options
| author | Michael Forney <mforney@mforney.org> | 2019-09-19 20:40:57 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-09-19 20:41:23 -0700 |
| commit | 71e6699d92b216d83f39c6b99ad97f6ee74cc69f (patch) | |
| tree | c575a8b8404f46f8cc5fad26d231ae3de0a4e98f /pkg/mpv/gen.lua | |
| parent | a9a4415ee61ed549c46742238fb930e3760edae3 (diff) | |
Use table to control waylandproto outputs
Diffstat (limited to 'pkg/mpv/gen.lua')
| -rw-r--r-- | pkg/mpv/gen.lua | 5 |
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) |
