pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: only disable EGL if unavailable in...
details: https://anonhg.NetBSD.org/pkgsrc/rev/259b11dcd363
branches: trunk
changeset: 451240:259b11dcd363
user: nia <nia%pkgsrc.org@localhost>
date: Sun Apr 25 06:09:41 2021 +0000
description:
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 bd2b7f9198ff -r 259b11dcd363 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile Sun Apr 25 06:05:21 2021 +0000
+++ b/multimedia/mpv/Makefile Sun Apr 25 06:09:41 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.124 2021/04/21 11:42:21 adam Exp $
+# $NetBSD: Makefile,v 1.125 2021/04/25 06:09:41 nia Exp $
DISTNAME= mpv-0.33.1
-PKGREVISION= 1
+PKGREVISION= 2
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 bd2b7f9198ff -r 259b11dcd363 multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Sun Apr 25 06:05:21 2021 +0000
+++ b/multimedia/mpv/options.mk Sun Apr 25 06:09:41 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.28 2021/04/25 06:09:41 nia 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