pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2021Q1]: pkgsrc/multimedia/mpv Pullup ticket #6456 - requested...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/84a0e1dbe600
branches:  pkgsrc-2021Q1
changeset: 453020:84a0e1dbe600
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri May 21 14:59:01 2021 +0000

description:
Pullup ticket #6456 - requested by nia
multimedia/mpv: performance fix

Revisions pulled up:
- multimedia/mpv/Makefile                                       1.125
- multimedia/mpv/options.mk                                     1.28

---
   Module Name: pkgsrc
   Committed By:        nia
   Date:                Sun Apr 25 06:09:41 UTC 2021

   Modified Files:
        pkgsrc/multimedia/mpv: Makefile options.mk

   Log Message:
   mpv: only disable EGL if unavailable in Mesa

   reported by mikeqin on IRC

diffstat:

 multimedia/mpv/Makefile   |  5 ++---
 multimedia/mpv/options.mk |  6 +++++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r ff33b2d14680 -r 84a0e1dbe600 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Fri May 07 19:05:29 2021 +0000
+++ b/multimedia/mpv/Makefile   Fri May 21 14:59:01 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.122 2021/02/07 06:30:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.122.2.1 2021/05/21 14:59:01 bsiegert Exp $
 
 DISTNAME=      mpv-0.33.0
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -21,7 +21,6 @@
 WAF_REPLACE_EXECUTABLE=        yes
 WAF_CONFIGURE_ARGS+=   --bindir=${PREFIX}/bin
 WAF_CONFIGURE_ARGS+=   --enable-dvdnav
-WAF_CONFIGURE_ARGS+=   --disable-egl-x11
 WAF_CONFIGURE_ARGS+=   --enable-libmpv-shared
 
 PYTHON_FOR_BUILD_ONLY= yes
diff -r ff33b2d14680 -r 84a0e1dbe600 multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Fri May 07 19:05:29 2021 +0000
+++ b/multimedia/mpv/options.mk Fri May 21 14:59:01 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.27 2020/12/19 12:17:29 nia Exp $
+# $NetBSD: options.mk,v 1.27.4.1 2021/05/21 14:59:01 bsiegert Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mpv
 
@@ -161,6 +161,10 @@
 ### OpenGL support (video output)
 ###
 .if !empty(PKG_OPTIONS:Mopengl)
+.include "../../graphics/MesaLib/features.mk"
+.  if ${MESALIB_SUPPORTS_EGL:tl} == "no"
+WAF_CONFIGURE_ARGS+=   --disable-egl-x11
+.  endif
 .include "../../graphics/MesaLib/buildlink3.mk"
 .elif !empty(PKG_OPTIONS:Mrpi)
 BUILD_DEPENDS+=                raspberrypi-userland>=20170109:../../misc/raspberrypi-userland



Home | Main Index | Thread Index | Old Index