summaryrefslogtreecommitdiffstats
path: root/firefox/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'firefox/Pkgfile')
-rw-r--r--firefox/Pkgfile54
1 files changed, 48 insertions, 6 deletions
diff --git a/firefox/Pkgfile b/firefox/Pkgfile
index cc329c621..f4b554a2a 100644
--- a/firefox/Pkgfile
+++ b/firefox/Pkgfile
@@ -2,13 +2,13 @@
# URL: http://www.mozilla.com/firefox/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: yasm, desktop-file-utils, startup-notification, alsa-lib, mesa3d, gtk, libidl, pango, curl, nss, libnotify, dbus-glib, libevent, wireless_tools
-# Run on: desktop-file-utils,alsa-lib,mesa3d,gtk,libidl,pango,curl,nss,libnotify,dbus-glib
+# Depends on: libevent,yasm, desktop-file-utils, startup-notification, alsa-lib, mesa3d, gtk, libidl, pango, curl, nss, libnotify, dbus-glib, hunspell
+# Run on: libevent,desktop-file-utils,startup-notification,alsa-lib,mesa3d,gtk,libidl,pango,curl,nss,libnotify,dbus-glib,hunspell
name=firefox
version=13.0
-release=1
+release=2
branch=test
@@ -16,9 +16,7 @@ branch=test
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
source=(ftp://ftp.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version.source.tar.bz2
- firefox.desktop
- firefox-install-dir.patch
- vendor.js)
+ firefox.desktop firefox-install-dir.patch vendor.js)
build() {
@@ -27,6 +25,50 @@ build() {
cd "mozilla-release"
patch -Np1 -i $SRC/firefox-install-dir.patch
+ # Création du mozconfig
+
+ cat > mozconfig << EOF
+# for multicore machine you can speed up the build by running
+# mk_add_options MOZ_MAKE_FLAGS="-j4"
+
+
+# If you have installed wireless-tools delete this option:
+ac_add_options --disable-necko-wifi
+
+
+# If you have installed xulrunner uncomment these two lines:
+# ac_add_options --with-system-libxul
+# ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
+
+# Uncomment these if you have installed them:
+ac_add_options --enable-startup-notification
+# ac_add_options --with-system-libvpx
+
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir
+ac_add_options --enable-official-branding
+ac_add_options --prefix=/usr
+
+# The rest of these options have no effect if you're
+# building against an already installed xulrunner:
+ac_add_options --disable-crashreporter
+ac_add_options --disable-debug
+ac_add_options --disable-installer
+ac_add_options --disable-static
+ac_add_options --disable-tests
+ac_add_options --disable-updater
+ac_add_options --enable-shared
+ac_add_options --enable-system-cairo
+ac_add_options --enable-system-ffi
+ac_add_options --with-pthreads
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-png
+ac_add_options --with-system-zlib
+ac_add_options --with-system-nspr
+ac_add_options --with-system-nss
+ac_add_options --enable-system-hunspell
+ac_add_options --enable-system-sqlite
+EOF
+
# Fix PRE_RELEASE_SUFFIX
sed -i '/^PRE_RELEASE_SUFFIX := ""/s/ ""//' browser/base/Makefile.in