aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2021-04-15 21:05:54 +0000
committerThomas Zander <riggs@FreeBSD.org>2021-04-16 05:44:40 +0000
commit993475fe4295e8d42b7cf65274a7a329601bb321 (patch)
treedb79afc4ee8cfab9dfcb79710b055601cb80db4e
parent2f973a2955686494aff30a15f18be3fa0492d9de (diff)
downloadports-993475fe4295e8d42b7cf65274a7a329601bb321.tar.gz
ports-993475fe4295e8d42b7cf65274a7a329601bb321.zip
multimedia/mpv: Allow building with wayland without x11.
PR: 254009 Reported by: evgeniy@khramtsov.org
-rw-r--r--multimedia/mpv/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 0a89e61c5cb2..41141f019469 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -117,7 +117,6 @@ _OPENAL_LDFLAGS_i386= -Wl,-znotext
OPENGL_USES= gl
OPENGL_USE= GL=egl,gbm
OPENGL_CONFIGURE_OFF= --disable-gl
-OPENGL_IMPLIES= X11
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_OFF= --disable-pulse
@@ -147,7 +146,6 @@ VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-head
VULKAN_LIB_DEPENDS= libplacebo.so:graphics/libplacebo \
libvulkan.so:graphics/vulkan-loader
VULKAN_CONFIGURE_OFF= --disable-vulkan --disable-libplacebo
-VULKAN_IMPLIES= X11
WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols \
${LOCALBASE}/include/linux/input-event-codes.h:devel/evdev-proto
@@ -155,6 +153,7 @@ WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libwayland-cursor.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
WAYLAND_CONFIGURE_OFF= --disable-wayland
+WAYLAND_IMPLIES= OPENGL
X11_USES= gnome xorg
X11_USE= XORG=x11,xext,xinerama,xorgproto,xrandr,xscrnsaver,xv,xxf86vm