summaryrefslogtreecommitdiffstats
path: root/mail/thunderbird/DEPENDS
blob: 1d1fc7eeb1ae66d82253f94313a8d7209274bdc0 (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
depends -sub CXX gcc                                             &&
depends  nspr               '--with-system-nspr'                 &&
depends  -sub "3.16.x" nss  '--with-system-nss'                  &&
depends  zlib               '--with-system-zlib'                 &&
depends  JPEG               '--with-system-jpeg'                 &&
depends  libidl                                                  &&
depends  perl                                                    &&
depends  python                                                  &&
depends  zip                                                     &&
depends  gtk+2              '--enable-xft --disable-freetype2'   &&
depends  -sub "TSAFE SECURE_DELETE ENABLE_UNLOCK_NOTIFY" sqlite '--enable-system-sqlite'    &&
depends  pysqlite                                                &&
#depends  -sub 'TEE' cairo "--enable-system-cairo                 \
#                           --enable-default-toolkit=cairo-gtk2"  &&
#
# LDAP support doesn't work (fails to build)
#
#optional_depends  openldap            \
#                  "--enable-ldap"     \
#                  "--disable-ldap"    \
#                  "for LDAP support"  &&

optional_depends  gnome-vfs2              \
                  "--enable-gnomevfs"     \
                  "--disable-gnomevfs"    \
                  "for GnomeVFS support"  &&

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

# Thunderbird is currently borked and does not compile without alsa-lib, this
# should be fixed after Thunderbird starts using Mozilla core 23
depends alsa-lib &&
#optional_depends  alsa-lib \
#                  '--enable-wave' \
#                  '--disable-wave --disable-ogg --disable-webm' \
#                  'for audio/video support'

if is_depends_enabled $SPELL alsa-lib; then
  # Thunderbird 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 using the system JPEG
  #optional_depends  yasm \
  #                  '--enable-webm' \
  #                  '--disable-webm' \
  #                  'for WebM video support'
  depends yasm
fi &&

optional_depends  dbus-glib \
                  '--enable-dbus' \
                  '--disable-dbus' \
                  'for dbus support' &&

# Thunderbird 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'