summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/akode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/akode/Makefile')
-rw-r--r--freebsd/dependencies/akode/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/freebsd/dependencies/akode/Makefile b/freebsd/dependencies/akode/Makefile
index 1da51212c..35e244e3a 100644
--- a/freebsd/dependencies/akode/Makefile
+++ b/freebsd/dependencies/akode/Makefile
@@ -22,6 +22,7 @@ PREFIX= ${LOCALBASE}
OPTIONS_DEFINE= ALSA_SINK \
JACK_SINK \
OSS_SINK \
+ PULSE_SINK \
\
FFMPEG_DECODER \
MPC_DECODER \
@@ -33,6 +34,7 @@ OPTIONS_DEFINE= ALSA_SINK \
OPTIONS_DEFAULT=ALSA_SINK \
JACK_SINK \
OSS_SINK \
+ PULSE_SINK \
\
MPC_DECODER \
MPEG_DECODER \
@@ -43,6 +45,7 @@ OPTIONS_DEFAULT=ALSA_SINK \
ALSA_SINK_DESC= Alsa output plugin
JACK_SINK_DESC= Jack output plugin
OSS_SINK_DESC= OSS output plugin
+PULSE_SINK_DESC= PulseAudio output plugin
FFMPEG_DECODER_DESC= FFMPEG decoder plugin (broken)
MPC_DECODER_DESC= Monkey's Audio decoder plugin
MPEG_DECODER_DESC= MPEG audio decoder plugin (including mp3)
@@ -68,6 +71,11 @@ CONFIGURE_ARGS+= -DWITH_JACK_SINK="ON"
CONFIGURE_ARGS+= -DWITH_OSS_SINK="ON"
.endif
+.if ${PORT_OPTIONS:MPULSE_SINK}
+LIB_DEPENDS+= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio
+CONFIGURE_ARGS+= -DWITH_PULSE_SINK="ON"
+.endif
+
.if ${PORT_OPTIONS:MFFMPEG_DECODER}
LIB_DEPENDS+= libavformat.so:${PORTSDIR}//multimedia/ffmpeg \
libavcodec.so:${PORTSDIR}//multimedia/ffmpeg