diff options
Diffstat (limited to 'audio/pulseaudio/options.mk')
-rw-r--r-- | audio/pulseaudio/options.mk | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/audio/pulseaudio/options.mk b/audio/pulseaudio/options.mk index 9f08f5f225e..f38c34d6640 100644 --- a/audio/pulseaudio/options.mk +++ b/audio/pulseaudio/options.mk @@ -1,7 +1,12 @@ -# $NetBSD: options.mk,v 1.9 2018/07/25 12:15:59 adam Exp $ +# $NetBSD: options.mk,v 1.10 2019/07/01 10:25:24 triaxx Exp $ + +.include "../../comms/lirc/available.mk" PKG_OPTIONS_VAR= PKG_OPTIONS.pulseaudio PKG_SUPPORTED_OPTIONS= avahi fftw gsettings x11 +.if ${LIRC_AVAILABLE} == "yes" +PKG_SUPPORTED_OPTIONS+= lirc +.endif PKG_SUGGESTED_OPTIONS= avahi x11 PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} @@ -14,13 +19,6 @@ PLIST.avahi= yes 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:Mfftw) CONFIGURE_ARGS+= --with-fftw PLIST.fftw= yes @@ -40,6 +38,21 @@ REPLACE_FILES.pulse_py= src/utils/qpaeq CONFIGURE_ARGS+= --without-fftw .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" |