diff options
author | nat <nat@pkgsrc.org> | 2014-09-17 12:07:18 +0000 |
---|---|---|
committer | nat <nat@pkgsrc.org> | 2014-09-17 12:07:18 +0000 |
commit | f50151c182fc0530d5734d41dceac825b231c59e (patch) | |
tree | 928e1dee4daaa40408fd4e6e205617109a4c60b7 /multimedia/mpv | |
parent | 91a86a07b4e8c70cf99f790447fdea8f2423c709 (diff) | |
download | pkgsrc-f50151c182fc0530d5734d41dceac825b231c59e.tar.gz |
Add option for pulseaudio support.
This commit was approved by wiz@
Diffstat (limited to 'multimedia/mpv')
-rw-r--r-- | multimedia/mpv/options.mk | 14 |
1 files changed, 12 insertions, 2 deletions
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" @@ -27,6 +27,16 @@ 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) ### .if !empty(PKG_OPTIONS:Msdl) |