git: f33adcc5769a - 2022Q4 - multimedia/mpv: track VDPAU dependency on X11

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

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

commit f33adcc5769aee97149fcb7765bd390f793f8321
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:28:53 +0000

    multimedia/mpv: track VDPAU dependency on X11
    
    Checking for VDPAU acceleration                                           : x11 not found
    Checking for VDPAU with OpenGL/X11                                        : vdpau not found
    
    PR:             267816
    Reported by:    amdmi3
    
    (cherry picked from commit 223e207711169c0780ad0a27e479eafb4c27f63c)
---
 multimedia/mpv/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 63be72a1445b..57e806d80a6c 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -162,6 +162,7 @@ VAAPI_CONFIGURE_OFF=		--disable-vaapi
 
 VDPAU_LIB_DEPENDS=		libvdpau.so:multimedia/libvdpau
 VDPAU_CONFIGURE_OFF=		--disable-vdpau
+VDPAU_IMPLIES=			X11
 
 VULKAN_BUILD_DEPENDS=		${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
 VULKAN_LIB_DEPENDS=		libplacebo.so:graphics/libplacebo \