pkgsrc-Changes archive

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

CVS commit: [pkgsrc-2021Q1] pkgsrc/multimedia/mpv



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Fri May 21 14:59:01 UTC 2021

Modified Files:
        pkgsrc/multimedia/mpv [pkgsrc-2021Q1]: Makefile options.mk

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.122.2.1 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.27 -r1.27.4.1 pkgsrc/multimedia/mpv/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/mpv/Makefile
diff -u pkgsrc/multimedia/mpv/Makefile:1.122 pkgsrc/multimedia/mpv/Makefile:1.122.2.1
--- pkgsrc/multimedia/mpv/Makefile:1.122        Sun Feb  7 06:30:34 2021
+++ pkgsrc/multimedia/mpv/Makefile      Fri May 21 14:59:01 2021
@@ -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 @@ TOOL_DEPENDS+=        waf>=2.0.9:../../devel/wa
 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

Index: pkgsrc/multimedia/mpv/options.mk
diff -u pkgsrc/multimedia/mpv/options.mk:1.27 pkgsrc/multimedia/mpv/options.mk:1.27.4.1
--- pkgsrc/multimedia/mpv/options.mk:1.27       Sat Dec 19 12:17:29 2020
+++ pkgsrc/multimedia/mpv/options.mk    Fri May 21 14:59:01 2021
@@ -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 @@ WAF_CONFIGURE_ARGS+=       --disable-drm
 ### 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