aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repos/extra/firefox/.checksum2
-rw-r--r--repos/extra/firefox/abuild15
2 files changed, 10 insertions, 7 deletions
diff --git a/repos/extra/firefox/.checksum b/repos/extra/firefox/.checksum
index a50d622d..8b263d30 100644
--- a/repos/extra/firefox/.checksum
+++ b/repos/extra/firefox/.checksum
@@ -1,2 +1,2 @@
-aeb95e8e16a0d52edc18baba27800acd6e2db2aca56e37d671ef100328792765 firefox-134.0.2.source.tar.xz
+967f48a6e50885db7d776c931ac7a8da123f52e3149a1abcda1c2a40d8f2dad3 firefox-135.0.source.tar.xz
3e4e722acd2ab2e38a16ec23b29296318d77cc54f034d4b21d91bde085e26bc0 fix-target-detection.patch
diff --git a/repos/extra/firefox/abuild b/repos/extra/firefox/abuild
index 64d2fed5..35510688 100644
--- a/repos/extra/firefox/abuild
+++ b/repos/extra/firefox/abuild
@@ -1,19 +1,16 @@
name=firefox
-version=134.0.2
+version=135.0
release=1
source="https://ftp.mozilla.org/pub/${name}/releases/${version}/source/${name}-${version}.source.tar.xz
fix-target-detection.patch"
build() {
- export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
- export MOZBUILD_STATE_PATH=${PWD}/mozbuild
-
cat > .mozconfig << EOF
ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
ac_add_options --enable-strip
ac_add_options --enable-release
-#ac_add_options --enable-rust-simd
+ac_add_options --enable-rust-simd
ac_add_options --enable-audio-backends=alsa
ac_add_options --enable-install-strip
ac_add_options --enable-official-branding
@@ -25,7 +22,7 @@ ac_add_options --with-system-libvpx
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-pixman
-ac_add_options --without-system-png
+ac_add_options --with-system-png
ac_add_options --with-system-webp
ac_add_options --with-system-zlib
ac_add_options --without-wasm-sandboxed-libraries
@@ -58,9 +55,15 @@ EOF
PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
fi
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
+ export MOZBUILD_STATE_PATH=${PWD}/mozbuild
+
export CFLAGS="$CFLAGS -w"
export CXXFLAGS="$CXXFLAGS -w"
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags"
+ export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
+ export MOZ_DEBUG_FLAGS=-g0
+ export MOZ_NOSPAM=1
./mach build
./mach install