pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Make wayland option unavailable on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d42a2bad2f21
branches:  trunk
changeset: 443682:d42a2bad2f21
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Dec 19 12:17:29 2020 +0000

description:
mpv: Make wayland option unavailable on non-Linux for now.

Upstream decided to make wayland support linux-only.

This doesn't actually matter much at all since you can just use the SDL
video output...

diffstat:

 multimedia/mpv/options.mk |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 832ef940efdf -r d42a2bad2f21 multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Sat Dec 19 11:54:53 2020 +0000
+++ b/multimedia/mpv/options.mk Sat Dec 19 12:17:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.26 2020/12/19 11:27:51 leot Exp $
+# $NetBSD: options.mk,v 1.27 2020/12/19 12:17:29 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mpv
 
@@ -9,7 +9,7 @@
 # audio outputs
 PKG_SUPPORTED_OPTIONS+=                alsa jack openal pulseaudio
 # video outputs
-PKG_SUPPORTED_OPTIONS+=                caca libdrm wayland x11
+PKG_SUPPORTED_OPTIONS+=                caca libdrm x11
 # audio/video outputs
 PKG_SUPPORTED_OPTIONS+=                sdl2
 # misc
@@ -38,9 +38,8 @@
 PKG_SUGGESTED_OPTIONS+=                vdpau
 .endif
 
-.include "../../devel/wayland/platform.mk"
-
-.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+.if ${OPSYS} == "Linux"
+PKG_SUPPORTED_OPTIONS+=                wayland
 PKG_SUGGESTED_OPTIONS+=                wayland
 .endif
 



Home | Main Index | Thread Index | Old Index