Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 05:45:10 GMT
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 993475fe4295 - main - multimedia/mpv: Allow building with wayland without x11.
Message-ID:  <202104160545.13G5jAjd070068@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by riggs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=993475fe4295e8d42b7cf65274a7a329601bb321

commit 993475fe4295e8d42b7cf65274a7a329601bb321
Author:     Thomas Zander <riggs@FreeBSD.org>
AuthorDate: 2021-04-15 21:05:54 +0000
Commit:     Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2021-04-16 05:44:40 +0000

    multimedia/mpv: Allow building with wayland without x11.
    
    PR:             254009
    Reported by:    evgeniy@khramtsov.org
---
 multimedia/mpv/Makefile | 3 +--
 1 file changed, 1 insertion(+), 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104160545.13G5jAjd070068>