aboutsummaryrefslogblamecommitdiff
path: root/www/firefox/Makefile.options
blob: 50ae9f1c4d9617bd05b0a111e4c9711da871c350 (plain) (tree)
1
2
3
4
5
6
7
8
9

                          
                                                                               
                                                  
                                                     
 
                                                                           
                                                       
                                                                    
 
                             
                                                  
 

                                                               

                                                                              
 




                              


                                                                
                                                       
                                          
                                                   
                                                  
                                          
                                                                      
# -*- makefile-bsdmake -*-

OPTIONS_DEFINE+= 	BUNDLED_CAIRO CANBERRA DBUS DEBUG DTRACE FFMPEG GCONF \
			INTEGER_SAMPLES LIBPROXY \
			OPTIMIZED_CFLAGS PROFILE TEST

OPTIONS_DEFAULT+=	DBUS DTRACE FFMPEG GCONF OPTIMIZED_CFLAGS PROFILE \
			${OPTIONS_MULTI_AUDIO:NSNDIO} \
			${MACHINE_CPU:Msoftfp:C/.+/INTEGER_SAMPLES/}

OPTIONS_MULTI+=		AUDIO
OPTIONS_MULTI_AUDIO=	ALSA JACK PULSEAUDIO SNDIO

# WebRTC legacy audio library only supports ALSA and PulseAudio
JACK_IMPLIES=		ALSA
# No lazy-bindings and inconsistent fallback order (libcubeb vs. audio_device)
SNDIO_PREVENTS=		${OPTIONS_MULTI_AUDIO:NSNDIO}

# dragonfly, sparc64, riscv
.if !exists(/usr/sbin/dtrace)
OPTIONS_EXCLUDE+=	DTRACE
.endif

# ld(1) fails to link probes: Relocations in generic ELF (EM: 0)
OPTIONS_EXCLUDE_aarch64=	DTRACE

BUNDLED_CAIRO_DESC?=	Use bundled fork of cairo-1.9.5
CANBERRA_DESC?=		Sound theme alerts
INTEGER_SAMPLES_DESC?=	Integer audio sample format
LIBPROXY_DESC?=		Proxy support via libproxy
LIGHTNING_DESC?=	Calendar extension
RUST_DESC?=		Build with components written in Rust language