diff --git a/audio/baresip/Makefile b/audio/baresip/Makefile index 90e1a0a9aefa..19bd9b85c80a 100644 --- a/audio/baresip/Makefile +++ b/audio/baresip/Makefile @@ -26,7 +26,7 @@ PORTEXAMPLES= * #OPTIONS_NOT_YET_WORKING= ALSA BV32 G722_1 PLC ISAC OPENGLES OPTIONS_DEFINE= CONS DOCS EXAMPLES FFMPEG G711 G722 G726 GSM GSTREAMER ILBC \ - L16 OPUS OSS PORTAUDIO SDL SNDFILE SPEEX STDIO UUID V4L V4L2 X11 \ + L16 OPUS OSS PORTAUDIO PULSEAUDIO SDL SNDFILE SPEEX STDIO UUID V4L V4L2 X11 \ DTLS_SRTP AUBRIDGE VIDBRIDGE HTTPD DSHOW DIRECTFB ACCOUNT \ NATPMP SDL MIW SNAPSHOT SELFVIEW VUMETER AULOOP CONTACT \ MENU PRESENCE SYSLOG VIDLOOP @@ -70,6 +70,11 @@ $o_DESC= ${o:C,^(.).*,\1,}${o:C,^.,,:tl} module PORT_OPTIONS+= GST .endif +# Port calls it PULSE, standard OPTION is PULSEAUDIO +.if ${PORT_OPTIONS:MPULSEAUDIO} +PORT_OPTIONS+= PULSE +.endif + .if ${PORT_OPTIONS:MSDL} USE_SDL= sdl sound .endif diff --git a/audio/baresip/Makefile.depends b/audio/baresip/Makefile.depends index 6c6c97699641..ac5b1b8c06f0 100644 --- a/audio/baresip/Makefile.depends +++ b/audio/baresip/Makefile.depends @@ -17,6 +17,7 @@ OPUS_DEPEND= ${LOCALBASE}/include/opus/opus.h:audio/opus OSS_DEPEND= # In base PLC_DEPEND= ${LOCALBASE}/include/spandsp/plc.h:comms/spandsp PORTAUDIO_DEPEND= ${LOCALBASE}/include/portaudio.h:audio/portaudio +PULSEAUDIO_DEPEND= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio SDL_DEPEND= # Handled with USE_SDL in Makefile SNDFILE_DEPEND= ${LOCALBASE}/include/sndfile.h:audio/libsndfile SPEEX_DEPEND= ${LOCALBASE}/include/speex/speex.h:audio/speex