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.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkg/mpv/gen.lua b/pkg/mpv/gen.lua
index 36268e07..5d5607e6 100644
--- a/pkg/mpv/gen.lua
+++ b/pkg/mpv/gen.lua
@@ -34,12 +34,10 @@ pkg.deps = {
'pkg/zlib/headers',
}
-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', {
- client='video/out/wayland/srv-decor.h',
- code='video/out/wayland/srv-decor.c',
-})
+build('copy', '$outdir/video/out/wayland/presentation-time.h', '$builddir/pkg/wayland-protocols/include/presentation-time-client-protocol.h')
+build('copy', '$outdir/video/out/wayland/xdg-decoration-v1.h', '$builddir/pkg/wayland-protocols/include/xdg-decoration-unstable-v1-client-protocol.h')
+build('copy', '$outdir/video/out/wayland/xdg-shell.h', '$builddir/pkg/wayland-protocols/include/xdg-shell-client-protocol.h')
rule('file2string', '$outdir/file2string $in >$out.tmp && mv $out.tmp $out')
local function file2string(out, inp)
@@ -158,8 +156,9 @@ if options['HAVE_WAYLAND'] then
})
table.insert(pkg.deps, {
'$outdir/video/out/wayland/idle-inhibit-v1.h',
+ '$outdir/video/out/wayland/presentation-time.h',
+ '$outdir/video/out/wayland/xdg-decoration-v1.h',
'$outdir/video/out/wayland/xdg-shell.h',
- '$outdir/video/out/wayland/srv-decor.h',
'pkg/wayland/headers',
'pkg/libxkbcommon/fetch',
})