summaryrefslogtreecommitdiffstats
path: root/http/firefox/DEPENDS
blob: 2dda25ff876f70f11a0bad4b9eecaddd41b049fa (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
depends  atk                                                     &&
depends  cairo                                                   &&
depends  fontconfig                                              &&
depends  freetype2                                               &&
depends  -sub CXX gcc                                            &&
depends  gdk-pixbuf2                                             &&
depends  glib2                                                   &&
depends  gtk+2              '--enable-xft --disable-freetype2'   &&
depends  nspr               '--with-system-nspr'                 &&
depends  -sub "3.16.x" nss  '--with-system-nss'                  &&
depends  libidl                                                  &&
depends  libjpeg-turbo      '--with-system-jpeg'                 &&
depends  libx11                                                  &&
depends  libxext                                                 &&
depends  libxrender                                              &&
depends  libxt                                                   &&
depends  pango                                                   &&
depends  perl                                                    &&
depends  pysqlite                                                &&
depends  python                                                  &&
depends  -sub "TSAFE SECURE_DELETE ENABLE_UNLOCK_NOTIFY" sqlite '--enable-system-sqlite'    &&
depends  zip                                                     &&
depends  zlib               '--with-system-zlib'                 &&

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 &&
#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  gstreamer \
                  '--enable-gstreamer' \
                  '--disable-gstreamer' \
                  'for gstreamer based AV support' &&

suggest_depends_2 firefox-smglwiki '' '' \
  'to enable searching the SMGL Wiki from the Search Bar'