git: 223e20771116 - main - multimedia/mpv: track VDPAU dependency on X11

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 16 Nov 2022 21:27:50 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=223e207711169c0780ad0a27e479eafb4c27f63c

commit 223e207711169c0780ad0a27e479eafb4c27f63c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-16 21:15:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-16 21:27:17 +0000

    multimedia/mpv: track VDPAU dependency on X11
    
    meson.build:1411:0: ERROR: Feature vdpau cannot be enabled: x11 was not found!
    
    (or before 1d89ec25be62)
    
    Checking for VDPAU acceleration                                           : x11 not found
    Checking for VDPAU with OpenGL/X11                                        : vdpau not found
    
    PR:             267816
    Reported by:    amdmi3
---
 multimedia/mpv/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index c8438bd8f28e..0f14cc9bff72 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -151,6 +151,7 @@ VAPOURSYNTH_MESON_ENABLED=	vapoursynth
 
 VDPAU_LIB_DEPENDS=		libvdpau.so:multimedia/libvdpau
 VDPAU_MESON_ENABLED=		vdpau
+VDPAU_IMPLIES=			X11
 
 VULKAN_BUILD_DEPENDS=		${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
 VULKAN_LIB_DEPENDS=		libplacebo.so:graphics/libplacebo \