Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions firefox.be0
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

#export BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j80'

# BEE_VERSION firefox-157.0-0
# BEE_VERSION firefox-157.0.1-0

#https://ftp.mozilla.org/pub/firefox/releases/$pkgversion/SOURCE to find the right download link
#SRCURL[0]="https://ftp.mozilla.org/pub/firefox/releases/${PKGVERSION}/source/firefox-${PKGVERSION}.source.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/c4e23e2beff1dc001ac78a1a6c32b730/firefox-157.0.source.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/d9d7f1b8c6b41ddede20450ba1b18217/firefox-157.0.1.source.tar.xz"

#BEE_BUILDTYPE=autotools
#build_in_sourcedir
Expand All @@ -16,6 +16,9 @@ mee_configure() {
p=/pkg/node-24.18.0-0/profile; [ -e $p ] && . $p
p=/pkg/rustc-1.97.0-0/profile; [ -e $p ] && . $p

# fakeroot prepends /usr/lib, which overrides the RUNPATH of the bootstrapped clang
LD_LIBRARY_PATH=$(tr : '\n' <<<"$LD_LIBRARY_PATH" | grep -vx /usr/lib | paste -sd:)

if [[ ${BEE_MAKEFLAGS:: 2} == "-j" ]]; then
BEE_MAKEFLAGS=${BEE_MAKEFLAGS: 2}
fi
Expand All @@ -30,6 +33,7 @@ mee_configure() {
ac_add_options --without-system-nspr
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --enable-lto=cross
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --enable-bootstrap
Expand All @@ -43,7 +47,8 @@ mee_configure() {

mee_build() {
export CARGO_HOME=$B/.cargo
${S}/mach build
# Under fakeroot, the file calls of all build processes go through the one faked daemon
env -u LD_PRELOAD ${S}/mach build
}

mee_build_post() {
Expand Down