From bcdb2657fb1f17640a667c128302e9439b3b0972 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 7 Sep 2019 20:53:37 +0000 Subject: [PATCH] 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. --- www/firefox/Makefile.options | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/www/firefox/Makefile.options b/www/firefox/Makefile.options index c522dd1d1fc5..bdf91ec17c4f 100644 --- a/www/firefox/Makefile.options +++ b/www/firefox/Makefile.options @@ -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