logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: e74e64ccca0c442ef3b2d97dcaa64f111122bdb2
parent e5bb6756c125c1b2d70e63aa90b0d1485300f062
Author: Michael Forney <mforney@mforney.org>
Date:   Fri,  7 Sep 2018 16:36:28 -0700

mpv: Don't depend on wayland protocol headers if not building wayland support

Diffstat:

Mpkg/mpv/gen.lua8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/pkg/mpv/gen.lua b/pkg/mpv/gen.lua @@ -36,11 +36,6 @@ 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') -table.insert(pkg.deps, { - '$outdir/video/out/wayland/idle-inhibit-v1.h', - '$outdir/video/out/wayland/xdg-shell.h', - '$outdir/video/out/wayland/srv-decor.h', -}) rule('file2string', '$outdir/file2string $in >$out.tmp && mv $out.tmp $out') local function file2string(out, inp) @@ -158,6 +153,9 @@ if options['HAVE_WAYLAND'] then 'libxkbcommon/libxkbcommon.a', }) table.insert(pkg.deps, { + '$outdir/video/out/wayland/idle-inhibit-v1.h', + '$outdir/video/out/wayland/xdg-shell.h', + '$outdir/video/out/wayland/srv-decor.h', 'pkg/wayland/headers', 'pkg/libxkbcommon/fetch', })