Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2019 14:24:23 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506228 - head/multimedia/mpv
Message-ID:  <201907081424.x68EONLE093368@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 \



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