svn commit: r506228 - head/multimedia/mpv

Carlos J. Puga Medina cpm at FreeBSD.org
Mon Jul 8 14:24:23 UTC 2019


Author: cpm
Date: Mon Jul  8 14:24:22 2019
New Revision: 506228
URL: https://svnweb.freebsd.org/changeset/ports/506228

Log:
  multimedia/mpv: enable DRM console output support
  
  Allow Mpv to play videos directly on the console when DRM/KMS is supported (e.g., mpv -vo gpu --gpu-context=drm <video-file>)
  
  PR:		238944
  Submitted by:	sigsys at gmail.com

Modified:
  head/multimedia/mpv/Makefile

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Mon Jul  8 14:22:57 2019	(r506227)
+++ head/multimedia/mpv/Makefile	Mon Jul  8 14:24:22 2019	(r506228)
@@ -4,7 +4,7 @@
 PORTNAME=	mpv
 PORTVERSION=	0.29.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	8
+PORTREVISION=	9
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	https://waf.io/:waf
@@ -179,6 +179,9 @@ CONFIGURE_ARGS+=	--disable-vaapi-wayland
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|sys/vt.h|sys/consio.h|g' \
+		${WRKSRC}/video/out/drm_common.c \
+		${WRKSRC}/wscript
 	@${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \
 		${WRKSRC}/wscript_build.py
 	@${REINPLACE_CMD} -e 's|DBL_EPSILON|FLT_EPSILON|'g \


More information about the svn-ports-head mailing list