From f50151c182fc0530d5734d41dceac825b231c59e Mon Sep 17 00:00:00 2001 From: nat Date: Wed, 17 Sep 2014 12:07:18 +0000 Subject: Add option for pulseaudio support. This commit was approved by wiz@ --- multimedia/mpv/options.mk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'multimedia/mpv') diff --git a/multimedia/mpv/options.mk b/multimedia/mpv/options.mk index ef1eb0ea02b..3d49d4da8a4 100644 --- a/multimedia/mpv/options.mk +++ b/multimedia/mpv/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.1 2014/09/08 11:38:17 wiz Exp $ +# $NetBSD: options.mk,v 1.2 2014/09/17 12:07:18 nat Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mpv -PKG_SUPPORTED_OPTIONS= caca lua sdl v4l2 +PKG_SUPPORTED_OPTIONS= caca lua pulseaudio sdl v4l2 PKG_SUGGESTED_OPTIONS= lua .include "../../mk/bsd.options.mk" @@ -26,6 +26,16 @@ WAF_CONFIGURE_ARGS+= --enable-lua WAF_CONFIGURE_ARGS+= --disable-lua .endif +### +### Pulseaudio support (audio output) +### +.if !empty(PKG_OPTIONS:Mpulseaudio) +WAF_CONFIGURE_ARGS+= --enable-pulse +.include "../../audio/pulseaudio/buildlink3.mk" +.else +WAF_CONFIGURE_ARGS+= --disable-pulse +.endif + ### ### SDL support (audio output) ### -- cgit v1.2.3