blob: c3244cc407647cb8f89ea8b2f7396d8b1f94612d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
. "${GRIMOIRE}/FUNCTIONS" &&
depends autoconf-2.13 &&
depends -sub "CLANG" llvm &&
depends perl &&
depends python &&
depends icu "--with-system-icu" &&
depends glib2 &&
depends gtk+3 "--enable-default-toolkit=cairo-gtk3" &&
depends atk &&
depends libx11 &&
depends libxext &&
depends libxrender &&
depends libxt &&
depends libxcomposite &&
depends pango &&
depends libxft &&
#depends -sub TEE cairo "--enable-system-cairo" &&
depends gdk-pixbuf2 &&
depends libjpeg-turbo "--with-system-jpeg" &&
depends -sub APNG libpng "--with-system-png" &&
depends librsvg2 &&
depends libwebp "--with-system-webp" &&
depends nspr "--with-system-nspr" &&
local NSS_BRANCH="3.45" &&
if spell_ok nss &&
is_version_less "$(installed_version nss)" "${NSS_BRANCH}"; then
depends -sub "${NSS_BRANCH}.x" nss "--with-system-nss"
else
depends nss "--with-system-nss"
fi &&
depends -sub "TSAFE SECURE_DELETE ENABLE_UNLOCK_NOTIFY ENABLE_DBSTAT_VTAB
SQLITE_ENABLE_FTS3" sqlite "--enable-system-sqlite" &&
depends libidl &&
depends zip &&
depends zlib "--with-system-zlib" &&
depends bzip2 "--with-system-bz2" &&
depends libevent "--with-system-libevent" &&
#depends libvpx "--with-system-libvpx" &&
depends libffi "--enable-system-ffi" &&
depends libnotify &&
depends pixman "--enable-system-pixman" &&
depends rust &&
depends cbindgen &&
depends nodejs &&
optional_depends startup-notification \
"--enable-startup-notification" \
"--disable-startup-notification" \
"for startup notifications" &&
optional_depends gconf2 \
"--enable-gconf" \
"--disable-gconf" \
"for gconf support" &&
optional_depends wireless_tools \
"--enable-necko-wifi" \
"--disable-necko-wifi" \
"for Necko WiFi scanning" &&
optional_depends pulseaudio \
"--enable-pulseaudio" \
"--disable-pulseaudio" \
"use pulseaudio for audio support" &&
# Firefox is currently borked and does not compile without alsa-lib headers,
# this should have been fixed when Firefox started using Mozilla core 23, but it
# wasn't see https://bugzilla.mozilla.org/show_bug.cgi?id=875268
depends alsa-lib "--enable-alsa" &&
#optional_depends alsa-lib \
# '--enable-wave' \
# '--disable-wave --disable-ogg --disable-webm --disable-dash' \
# 'for audio/video support' &&
if is_depends_enabled $SPELL alsa-lib; then
# Firefox tries to use ogg/ogg.h even with --disable-ogg given
#optional_depends libogg \
# '--enable-ogg' \
# '--disable-ogg' \
# 'for sound support' &&
depends libogg &&
# configure script checks for yasm even when --disable-webm and --disable-dash are given
#optional_depends yasm \
# '--enable-webm --enable-dash' \
# '--disable-webm --disable-dash' \
# 'for WebM video support'
depends yasm
fi &&
optional_depends dbus-glib \
"--enable-dbus" \
"--disable-dbus" \
"for dbus support" &&
# Firefox is currently borked and does not compile without OpenGL headers
#optional_depends OPENGL \
# '--enable-webgl' \
# '--disable-webgl --without-gl-provider' \
# 'for WebGL support' &&
depends OPENGL &&
optional_depends LIBAVCODEC \
"--enable-ffmpeg" \
"--disable-ffmpeg" \
"for fragmented H264/AAC decoding" &&
suggest_depends_2 firefox-smglwiki "" "" \
"to enable searching the SMGL Wiki from the Search Bar" &&
optional_depends graphite2 \
"--with-system-graphite2" \
"--without-system-graphite2" \
"for system graphite2" &&
optional_depends harfbuzz \
"--with-system-harfbuzz" \
"--without-system-harfbuzz" \
"for system harfbuzz" &&
optional_depends dav1d \
"--enable-av1 --with-system-av1" \
"--disable-av1" \
"for AV1 video support"
|