pkgsrc/audio/pulseaudio/options.mk
kamil e351ebf699 pulseaudio: Drop the fftw option
It used to depend on qt4 and was not actively maintained.
2019-10-27 12:44:27 +00:00

46 lines
1.1 KiB
Makefile

# $NetBSD: options.mk,v 1.13 2019/10/27 12:44:28 kamil Exp $
.include "../../comms/lirc/available.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.pulseaudio
PKG_SUPPORTED_OPTIONS= avahi gsettings x11
.if ${LIRC_AVAILABLE} == "yes"
PKG_SUPPORTED_OPTIONS+= lirc
.endif
PKG_SUGGESTED_OPTIONS= avahi x11
PLIST_VARS+= avahi gsettings x11 lirc
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mavahi)
.include "../../net/avahi/buildlink3.mk"
PLIST.avahi= yes
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
.if !empty(PKG_OPTIONS:Mgsettings)
PLIST.gsettings= yes
CONFIGURE_ARGS+= --enable-gsettings
.else
CONFIGURE_ARGS+= --disable-gsettings
.endif
.if !empty(PKG_OPTIONS:Mlirc)
PLIST.lirc= yes
CONFIGURE_ARGS+= --enable-lirc
.include "../../comms/lirc/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-lirc
.endif
.if !empty(PKG_OPTIONS:Mx11)
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
PLIST.x11= yes
.else
CONFIGURE_ARGS+= --disable-x11
.endif