summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-12-21 20:11:34 -0800
committerMichael Forney <mforney@mforney.org>2016-12-21 20:11:34 -0800
commit4814ead66a682519a0ca0508ae583346249fee3e (patch)
tree813992005e0bd4c141db445f9e8f3ece1077a7a7 /pkg
parent91b2a0770e49b4ce8f5fbfb8a12613911c266398 (diff)
mpv: Add support for wayland output (shm)
Diffstat (limited to 'pkg')
-rw-r--r--pkg/mpv/gen.rc11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/mpv/gen.rc b/pkg/mpv/gen.rc
index 55771b2a..7172fda5 100644
--- a/pkg/mpv/gen.rc
+++ b/pkg/mpv/gen.rc
@@ -71,6 +71,17 @@ if(grep -qF 'HAVE_LUA 1' config.h) {
libs=($libs lua/liblua.a)
deps=($deps '$builddir'/pkg/lua/fetch.stamp)
}
+if(grep -qF 'HAVE_WAYLAND 1' config.h) {
+ cflags=($cflags\
+ -isystem '$builddir'/pkg/wayland/include\
+ -isystem pkg/libxkbcommon/src\
+ )
+ libs=($libs\
+ wayland/libwayland-^(client cursor)^.a.d\
+ libxkbcommon/libxkbcommon.a\
+ )
+ deps=($deps pkg/wayland/headers '$builddir'/pkg/libxkbcommon/fetch.stamp)
+}
cflags $cflags
phony deps $deps