1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

gecko: PULSEAUDIO-only builds can fallback to OSS

This commit is contained in:
Jan Beich 2017-09-27 04:11:49 +00:00
parent 1a635ee947
commit b4ec61411a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=450704

View File

@ -359,12 +359,7 @@ MOZ_OPTIONS+= --enable-alsa
.endif
.if ${PORT_OPTIONS:MPULSEAUDIO}
. if ${PORT_OPTIONS:MALSA}
BUILD_DEPENDS+= pulseaudio>0:audio/pulseaudio
. else
# pull pulse package if we cannot fallback to another backend
LIB_DEPENDS+= libpulse.so:audio/pulseaudio
. endif
BUILD_DEPENDS+= ${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio
MOZ_OPTIONS+= --enable-pulseaudio
.else
MOZ_OPTIONS+= --disable-pulseaudio