summaryrefslogtreecommitdiffstats
path: root/http/firefox/DEPENDS
blob: 44b6a5a9a61c7f0d7cbb24503be3ffd15e88614b (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
140
141
142
143
144
depends  autoconf-2.13                                           &&
depends  -sub CXX gcc                                            &&
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  "--enable-pango"                                 &&
depends  libxft "--enable-xft --disable-freetype2"               &&


#depends  -sub TEE cairo  '--enable-system-cairo' &&
depends  gdk-pixbuf2                                             &&

depends  libjpeg-turbo "--with-system-jpeg"                      &&
depends -sub APNG libpng "--enable-system-png"                   &&
depends  librsvg2 "--enable-svg"                                 &&

depends  nspr               "--with-system-nspr"                 &&
depends  -sub "3.30.x" nss  "--with-system-nss"                  &&

depends  -sub "TSAFE SECURE_DELETE ENABLE_UNLOCK_NOTIFY ENABLE_DBSTAT_VTAB" 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-vpx"                  &&
depends libffi              "--enable-system-ffi"                &&
depends hunspell            "--enable-system-hunspell"           &&
depends pixman              "--enable-system-pixman"             &&

depends rust                                                     &&

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" &&

optional_depends  gstreamer \
                  "--enable-gstreamer" \
                  "--disable-gstreamer" \
                  "for gstreamer 0.10 based AV support" &&
if is_depends_enabled $SPELL gstreamer; then
  depends gst-plugins-base
else
  optional_depends  gstreamer-1.0 \
                    "--enable-gstreamer=1.0" \
                    "" \
                    "for gstreamer 1.0 based AV support" &&
  if is_depends_enabled $SPELL gstreamer-1.0; then
    depends gst-plugins-base-1.0 &&
    # qtdemux
    depends gst-plugins-good-1.0 &&
    # h264parse
    depends gst-plugins-bad-1.0 &&
    # ffmpeg plugin for gstreamer
    depends gst-libav-1.0
  fi
fi &&



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"