summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-19 12:17:29 +0000
committernia <nia@pkgsrc.org>2020-12-19 12:17:29 +0000
commit15dbec37e91f1824a2e8138bd140b2c624abf617 (patch)
treef4b6f8686f017be4e02023aed169b33335534639 /multimedia
parentb18fcd00677587645b1feadb12a6e76b497e8037 (diff)
downloadpkgsrc-15dbec37e91f1824a2e8138bd140b2c624abf617.tar.gz
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 (limited to 'multimedia')
-rw-r--r--multimedia/mpv/options.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/mpv/options.mk b/multimedia/mpv/options.mk
index a107567476d..cad4fdb625e 100644
--- a/multimedia/mpv/options.mk
+++ b/multimedia/mpv/options.mk
@@ -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 @@ PKG_OPTIONS_GROUP.gl= opengl rpi
# 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_SUPPORTED_OPTIONS+= vdpau
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