blob: 853155928dc00d7f9bc34c11aff85da0dea99abb (
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
|
# build environment
depends p7zip &&
depends zip &&
depends unzip &&
depends -sub CXX gcc &&
depends autoconf-2.13 &&
depends perl &&
depends python &&
depends pkgconfig &&
# main libraries
depends glib2 &&
depends libjpeg-turbo '--with-system-jpeg' &&
depends zlib '--with-system-zlib' &&
depends bzip2 '--with-system-bz2' &&
depends gtk+2 '--enable-default-toolkit=cairo-gtk2' &&
depends -sub "TSAFE SECURE_DELETE ENABLE_UNLOCK_NOTIFY" sqlite '--enable-system-sqlite' &&
depends nspr '--with-system-nspr' &&
# Using a system-provided NSS library is currently not supported.
# depends -sub 3.19.x nss '--with-system-nss' &&
depends libffi '--enable-system-ffi' &&
depends libevent '--with-system-libevent' &&
depends fontconfig &&
# X libraries
depends libx11 &&
depends libxt &&
depends libxext &&
depends libice &&
depends libsm &&
depends libxscrnsaver &&
depends libxrender &&
# misc
depends desktop-file-utils &&
optional_depends freetype2 \
"--disable-tree-freetype" \
"--enable-tree-freetype" \
"to use system FreeType library" &&
optional_depends -sub "X TEE" cairo \
"--enable-system-cairo" \
"--disable-system-cairo" \
"to use system version of cairo" &&
if is_depends_enabled $SPELL cairo; then
message "${MESSAGE_COLOR}System cairo selected, forcing system version of ${SPELL_COLOR}pixman${MESSAGE_COLOR}...${DEFAULT_COLOR}" &&
depends pixman '--enable-system-pixman'
else
list_add OPTS '--disable-system-pixman'
fi &&
optional_depends pango \
"--enable-pango" \
"--disable-pango" \
"to use Pango engine" &&
optional_depends gstreamer \
"--enable-gstreamer" \
"--disable-gstreamer" \
"for GStreamer support" &&
if is_depends_enabled $SPELL gstreamer; then
depends gst-plugins-base &&
# qtdemux
depends gst-plugins-good &&
# h264parse
depends gst-plugins-bad &&
# ffmpeg plugin for gstreamer
depends gst-ffmpeg
fi &&
optional_depends dbus \
"--enable-dbus" \
"--disable-dbus" \
"for dbus support" &&
if is_depends_enabled $SPELL dbus; then
depends dbus-glib
fi &&
if list_find "${PALEMOON_OPTS}" "--enable-webm"; then
depends yasm &&
depends alsa-lib '--enable-alsa' &&
optional_depends libvpx \
"--with-system-libvpx" \
"--without-system-libvpx" \
"to use system libvpx"
elif list_find "${PALEMOON_OPTS}" "--enable-ogg" || list_find "${PALEMOON_OPTS}" "--enable-wave"; then
depends alsa-lib '--enable-alsa'
else
optional_depends alsa-lib \
"--enable-alsa" \
"--disable-alsa" \
"for ALSA support"
fi &&
optional_depends OPENGL \
"--enable-webgl" \
"--disable-webgl" \
"for building of the WebGL implementation" &&
optional_depends startup-notification \
"--enable-startup-notification" \
"--disable-startup-notification" \
"for startup-notification support" &&
optional_depends hunspell \
"--enable-system-hunspell" \
"--disable-system-hunspell" \
"to use system hunspell library" &&
optional_depends pulseaudio \
"--enable-pulseaudio" \
"--disable-pulseaudio" \
"for PulseAudio support (${PROBLEM_COLOR}experimental${DEFAULT_COLOR})" &&
optional_depends wireless_tools \
"--enable-necko-wifi" \
"--disable-necko-wifi" \
"for necko wifi scanner" &&
optional_depends gconf2 \
"--enable-gconf" \
"--disable-gconf" \
"for Gconf support" &&
optional_depends libproxy \
"--enable-libproxy" \
"--disable-libproxy" \
"for libproxy support" &&
optional_depends libgnomeui \
"--enable-gnomeui" \
"--disable-gnomeui" \
"to use libgnomeui instead of GIO & GTK for icon theme support"
|