22 |
>= media-libs/libjpeg-8 |
>= media-libs/libjpeg-8 |
23 |
>= media-libs/libpng-1.5 |
>= media-libs/libpng-1.5 |
24 |
>= media-libs/alsa-lib-1.1 |
>= media-libs/alsa-lib-1.1 |
|
>= media-libs/libogg-1.3 |
|
25 |
>= media-libs/libvpx-1.6 |
>= media-libs/libvpx-1.6 |
26 |
>= dev-libs/glib2-2.52 |
>= dev-libs/glib2-2.52 |
27 |
>= dev-libs/libidl-0.8.14 |
>= dev-libs/libidl-0.8.14 |
28 |
>= app-arch/unzip-6 |
>= app-arch/unzip-6 |
29 |
>= x11-libs/pango-1.40 |
>= x11-libs/pango-1.40 |
30 |
>= x11-libs/cairo-1.14 |
>= x11-libs/cairo-1.14 |
31 |
|
>= x11-libs/gtk2+-2.24 |
32 |
>= x11-libs/gtk3+-3.22 |
>= x11-libs/gtk3+-3.22 |
|
>= x11-libs/libnotify-0.7 |
|
33 |
>= dev-libs/nspr-4.14 |
>= dev-libs/nspr-4.14 |
34 |
>= dev-libs/nss-3.30 |
>= dev-libs/nss-3.30 |
35 |
>= media-fonts/corefonts-2 |
>= media-fonts/corefonts-2 |
49 |
>= app-arch/zip-3 |
>= app-arch/zip-3 |
50 |
>= dev-lang/yasm-1.3 |
>= dev-lang/yasm-1.3 |
51 |
>= dev-lang/python-2.7 |
>= dev-lang/python-2.7 |
|
>= media-libs/gstreamer1.0-plugins-base-1.12 |
|
52 |
>= media-sound/libpulse-10" |
>= media-sound/libpulse-10" |
53 |
|
|
54 |
SRCFILE="firefox-${PVER}.source.tar.xz" |
SRCFILE="firefox-${PVER}.source.tar.xz" |
202 |
|
|
203 |
# want system jpeg, png, zlib, icu, event, vpx, nspr and nss |
# want system jpeg, png, zlib, icu, event, vpx, nspr and nss |
204 |
#mozconf_add --with-system-jpeg # prefer libjpeg-turbo |
#mozconf_add --with-system-jpeg # prefer libjpeg-turbo |
205 |
mozconf_add --with-system-png |
# system png is missing apng support |
206 |
|
#mozconf_add --with-system-png |
207 |
mozconf_add --with-system-zlib |
mozconf_add --with-system-zlib |
208 |
mozconf_add --with-system-nspr |
mozconf_add --with-system-nspr |
209 |
mozconf_add --with-system-nss |
mozconf_add --with-system-nss |
215 |
mozconf_add --with-system-icu |
mozconf_add --with-system-icu |
216 |
mozconf_add --enable-intl-api |
mozconf_add --enable-intl-api |
217 |
mozconf_add --with-system-libvpx |
mozconf_add --with-system-libvpx |
218 |
|
mozconf_add --enable-system-cairo |
219 |
|
|
220 |
# enable cairo-gtk3 as default |
# enable cairo-gtk3 as default |
221 |
mozconf_add --enable-default-toolkit=cairo-gtk3 |
mozconf_add --enable-default-toolkit=cairo-gtk3 |
222 |
|
|
|
# no xprint ? |
|
|
mozconf_add --disable-xprint |
|
|
|
|
|
# >= firefox-1.0.7 should use xft + pango, svg with cairo |
|
|
mozconf_add --disable-freetype2 |
|
|
mozconf_add --enable-xft |
|
|
mozconf_add --enable-pango |
|
|
mozconf_add --enable-system-cairo |
|
|
mozconf_add --enable-svg |
|
|
mozconf_add --enable-canvas |
|
|
|
|
|
# enable all image encoders |
|
|
mozconf_add --enable-image-encoder=all |
|
|
|
|
223 |
# disable debug build && enable stripping |
# disable debug build && enable stripping |
224 |
mozconf_add --disable-debug |
mozconf_add --disable-debug |
225 |
mozconf_add --disable-tests |
mozconf_add --disable-tests |
|
mozconf_add --enable-reorder |
|
226 |
mozconf_add --enable-strip |
mozconf_add --enable-strip |
|
mozconf_add --enable-strip-libs |
|
227 |
|
|
228 |
if [[ ${ARCH} = i*86 ]] |
# enable safe-browsing |
|
then |
|
|
# optimze build for x86 |
|
|
mozconf_add --enable-elf-dynstr-gc |
|
|
fi |
|
|
|
|
|
# both needed to build galeon |
|
|
mozconf_add --enable-oji |
|
|
mozconf_add --enable-mathml |
|
|
|
|
|
# enable storage, places and safe-browsing |
|
|
mozconf_add --enable-storage |
|
|
mozconf_add --enable-places |
|
229 |
mozconf_add --enable-safe-browsing |
mozconf_add --enable-safe-browsing |
230 |
|
|
231 |
# enable default extensions |
# enable default extensions |
232 |
mozconf_add --enable-extensions=default |
mozconf_add --enable-extensions=default |
233 |
|
|
234 |
# gnome support (needs gnome-vfs) |
# no crashreporter |
|
mozconf_add --disable-gnomevfs |
|
|
mozconf_add --enable-extension=-gnomevfs |
|
|
|
|
|
# broken with firefox-3.0.10 |
|
|
mozconf_add --disable-mochitest |
|
235 |
mozconf_add --disable-crashreporter |
mozconf_add --disable-crashreporter |
236 |
|
|
|
# enable libnotify |
|
|
mozconf_add --enable-libnotify |
|
237 |
# enable gio |
# enable gio |
238 |
mozconf_add --enable-gio |
mozconf_add --enable-gio |
239 |
|
# disable gnome support |
240 |
|
mozconf_add --disable-gnomeui |
241 |
|
mozconf_add --disable-gconf |
242 |
# enable startup-notification |
# enable startup-notification |
243 |
mozconf_add --enable-startup-notification |
mozconf_add --enable-startup-notification |
244 |
# enable dbus |
# enable dbus |
245 |
mozconf_add --enable-dbus |
mozconf_add --enable-dbus |
246 |
# enable webm and libjpeg-turbo format |
# enable webm and libjpeg-turbo format |
247 |
# both needs yasm |
# both needs yasm |
|
mozconf_add --enable-webm |
|
248 |
mozconf_add --enable-libjpeg-turbo |
mozconf_add --enable-libjpeg-turbo |
|
# enable libalsa and ogg |
|
|
mozconf_add --enable-ogg |
|
|
mozconf_add --enable-wave |
|
249 |
# pulseaudio support |
# pulseaudio support |
250 |
mozconf_add --enable-pulseaudio |
mozconf_add --enable-pulseaudio |
251 |
# use gstreamer-1.0 |
|
252 |
mozconf_add --enable-gstreamer=1.0 |
# no rust support, developers only |
253 |
|
mozconf_add --disable-rust |
254 |
|
|
255 |
# resolve multiple --enable-extensions down to one |
# resolve multiple --enable-extensions down to one |
256 |
rebuild_extension_list |
rebuild_extension_list |