5830291a62
This is a build-only dependency used by default in upstream builds. https://bugzilla.mozilla.org/show_bug.cgi?id=713827 https://bugzilla.mozilla.org/show_bug.cgi?id=1167201
32 lines
1 KiB
Text
32 lines
1 KiB
Text
# -*- 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
|