pkgsrc/audio/audacious-plugins/options.mk
2017-09-27 13:33:07 +00:00

51 lines
1.1 KiB
Makefile

# $NetBSD: options.mk,v 1.8 2017/09/27 13:33:07 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.audacious-plugins
PKG_SUPPORTED_OPTIONS= esound inet6 jack midi pulseaudio sid
PKG_SUGGESTED_OPTIONS+= inet6 pulseaudio jack
.include "../../mk/bsd.options.mk"
PLIST_VARS+= sid
.if !empty(PKG_OPTIONS:Msid)
. include "../../audio/libsidplay/buildlink3.mk"
PLIST.sid= yes
.else
CONFIGURE_ARGS+= --disable-sid
.endif
PLIST_VARS+= esd
.if !empty(PKG_OPTIONS:Mesound)
. include "../../audio/esound/buildlink3.mk"
PLIST.esd= yes
.else
CONFIGURE_ARGS+= --disable-esd
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
PLIST_VARS+= jack
.if !empty(PKG_OPTIONS:Mjack)
. include "../../audio/jack/buildlink3.mk"
PLIST.jack= yes
.else
CONFIGURE_ARGS+= --disable-jack
.endif
PLIST_VARS+= midi
.if !empty(PKG_OPTIONS:Mmidi)
BUILD_DEPENDS+= timidity>=0:../../audio/timidity
PLIST.midi= yes
.else
CONFIGURE_ARGS+= --disable-timidity
.endif
PLIST_VARS+= pulse
.if !empty(PKG_OPTIONS:Mpulseaudio)
. include "../../audio/pulseaudio/buildlink3.mk"
PLIST.pulse= yes
.else
CONFIGURE_ARGS+= --disable-pulse
.endif