pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Instead of enabling libdrm support...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7c5bdf43edb
branches:  trunk
changeset: 385581:c7c5bdf43edb
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Sep 20 06:20:47 2022 +0000

description:
mpv: Instead of enabling libdrm support on anything Unix-like, only
enable it for operating systems where support for the underlying
console system exists.

diffstat:

 multimedia/mpv/options.mk |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r d7e11a11ff75 -r c7c5bdf43edb multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Tue Sep 20 06:18:36 2022 +0000
+++ b/multimedia/mpv/options.mk Tue Sep 20 06:20:47 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.29 2022/05/17 13:12:13 ryoon Exp $
+# $NetBSD: options.mk,v 1.30 2022/09/20 06:20:47 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mpv
 
@@ -21,7 +21,11 @@
 .include "../../mk/bsd.fast.prefs.mk"
 
 .if ${OPSYS} != "Darwin"
-PKG_SUGGESTED_OPTIONS+=                opengl libdrm x11
+PKG_SUGGESTED_OPTIONS+=                opengl x11
+.endif
+
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
+PKG_SUGGESTED_OPTIONS+=                libdrm
 .endif
 
 .include "../../multimedia/libva/available.mk"



Home | Main Index | Thread Index | Old Index