svn commit: r487895 - head/audio/baresip
Romain Tartière
romain at FreeBSD.org
Thu Dec 20 17:58:03 UTC 2018
Author: romain
Date: Thu Dec 20 17:58:02 2018
New Revision: 487895
URL: https://svnweb.freebsd.org/changeset/ports/487895
Log:
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)
Modified:
head/audio/baresip/Makefile
head/audio/baresip/Makefile.depends
Modified: head/audio/baresip/Makefile
==============================================================================
--- head/audio/baresip/Makefile Thu Dec 20 17:52:30 2018 (r487894)
+++ head/audio/baresip/Makefile Thu Dec 20 17:58:02 2018 (r487895)
@@ -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
@@ -68,6 +68,11 @@ $o_DESC= ${o:C,^(.).*,\1,}${o:C,^.,,:tl} module
# Port calls it GST, standard OPTION is GSTREAMER
.if ${PORT_OPTIONS:MGSTREAMER}
PORT_OPTIONS+= GST
+.endif
+
+# Port calls it PULSE, standard OPTION is PULSEAUDIO
+.if ${PORT_OPTIONS:MPULSEAUDIO}
+PORT_OPTIONS+= PULSE
.endif
.if ${PORT_OPTIONS:MSDL}
Modified: head/audio/baresip/Makefile.depends
==============================================================================
--- head/audio/baresip/Makefile.depends Thu Dec 20 17:52:30 2018 (r487894)
+++ head/audio/baresip/Makefile.depends Thu Dec 20 17:58:02 2018 (r487895)
@@ -17,6 +17,7 @@ OPUS_DEPEND= ${LOCALBASE}/include/opus/opus.h:audio/op
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
More information about the svn-ports-head
mailing list