1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

gecko: allow building without audio support

When all AUDIO options are unselected there's no audio because on
FreeBSD there's no native backend. Besides, Firefox can be used on
systems without audio chip or in headless mode.
This commit is contained in:
Jan Beich 2019-09-07 20:53:37 +00:00
parent 41dac0b5d7
commit bcdb2657fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511426

View File

@ -4,13 +4,10 @@ OPTIONS_DEFINE+= CANBERRA DBUS DEBUG FFMPEG GCONF \
LIBPROXY OPTIMIZED_CFLAGS PROFILE TEST
OPTIONS_DEFAULT+= DBUS FFMPEG GCONF OPTIMIZED_CFLAGS PROFILE \
${OPTIONS_MULTI_AUDIO}
${OPTIONS_GROUP_AUDIO}
OPTIONS_MULTI+= AUDIO
OPTIONS_MULTI_AUDIO= ALSA JACK PULSEAUDIO SNDIO
# WebRTC legacy audio library only supports ALSA and PulseAudio
JACK_IMPLIES= ALSA
OPTIONS_GROUP+= AUDIO
OPTIONS_GROUP_AUDIO= ALSA JACK PULSEAUDIO SNDIO
CANBERRA_DESC?= Sound theme alerts
LIBPROXY_DESC?= Proxy support via libproxy