From 74c77a66f298f872b435747ca151f120ec29804a Mon Sep 17 00:00:00 2001 From: nia Date: Tue, 17 Mar 2020 11:22:31 +0000 Subject: mpv: Cosmetic changes in options.mk --- multimedia/mpv/options.mk | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'multimedia/mpv') diff --git a/multimedia/mpv/options.mk b/multimedia/mpv/options.mk index 20c1d2bb378..7703c7f2389 100644 --- a/multimedia/mpv/options.mk +++ b/multimedia/mpv/options.mk @@ -1,10 +1,7 @@ -# $NetBSD: options.mk,v 1.23 2020/03/16 21:28:23 nia Exp $ +# $NetBSD: options.mk,v 1.24 2020/03/17 11:22:31 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mpv -.include "../../multimedia/libva/available.mk" -.include "../../multimedia/libvdpau/available.mk" -.include "../../devel/wayland/platform.mk" PKG_OPTIONS_OPTIONAL_GROUPS= gl PKG_OPTIONS_GROUP.gl= opengl rpi @@ -12,27 +9,37 @@ PKG_OPTIONS_GROUP.gl= opengl rpi # audio outputs PKG_SUPPORTED_OPTIONS+= alsa jack pulseaudio # video outputs -PKG_SUPPORTED_OPTIONS+= caca sdl2 libdrm wayland x11 +PKG_SUPPORTED_OPTIONS+= caca libdrm wayland x11 +# audio/video outputs +PKG_SUPPORTED_OPTIONS+= sdl2 # misc PKG_SUPPORTED_OPTIONS+= ass bluray lua -.include "../../mk/bsd.fast.prefs.mk" - PKG_SUGGESTED_OPTIONS= ass bluray lua sdl2 - PKG_SUGGESTED_OPTIONS.Linux+= alsa pulseaudio +.include "../../mk/bsd.fast.prefs.mk" + .if ${OPSYS} != "Darwin" PKG_SUGGESTED_OPTIONS+= opengl libdrm x11 .endif + +.include "../../multimedia/libva/available.mk" + .if ${VAAPI_AVAILABLE} == "yes" PKG_SUPPORTED_OPTIONS+= vaapi PKG_SUGGESTED_OPTIONS+= vaapi .endif + +.include "../../multimedia/libvdpau/available.mk" + .if ${VDPAU_AVAILABLE} == "yes" PKG_SUPPORTED_OPTIONS+= vdpau PKG_SUGGESTED_OPTIONS+= vdpau .endif + +.include "../../devel/wayland/platform.mk" + .if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" PKG_SUGGESTED_OPTIONS+= wayland .endif -- cgit v1.2.3