aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2019-07-08 14:24:22 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2019-07-08 14:24:22 +0000
commit394caf9b71e27f83972cd82f0798bf66332c14c9 (patch)
tree6fb2de72a8f755a62da534213fbb6c14ec610174 /multimedia/mpv
parent564f47b447bcd34f3fdaf5397689f6368e7bc91d (diff)
downloadports-394caf9b71e27f83972cd82f0798bf66332c14c9.tar.gz
ports-394caf9b71e27f83972cd82f0798bf66332c14c9.zip
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
Notes
Notes: svn path=/head/; revision=506228
Diffstat (limited to 'multimedia/mpv')
-rw-r--r--multimedia/mpv/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 7ae3910e8817..0fed5b1582a6 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -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 \