diff options
author | Romain Tartière <romain@FreeBSD.org> | 2018-12-20 17:58:02 +0000 |
---|---|---|
committer | Romain Tartière <romain@FreeBSD.org> | 2018-12-20 17:58:02 +0000 |
commit | 4f77d2193f9b762c13fbdac74e914a5407aeeca9 (patch) | |
tree | 827e40a5304fa10221e87e35f81c790b32a95d47 /audio/baresip | |
parent | Update to 4.3.0 (diff) |
Add an option to enable PulseAudio
The option is disabled by default, so the package is not modified, no
PORTREVISION bump needed.
PR: 234225
Approved by: crees (maintainer)
Notes
Notes:
svn path=/head/; revision=487895
Diffstat (limited to 'audio/baresip')
-rw-r--r-- | audio/baresip/Makefile | 7 | ||||
-rw-r--r-- | audio/baresip/Makefile.depends | 1 |
2 files changed, 7 insertions, 1 deletions
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 |