Update package version to 150.0.1p1

This commit is contained in:
2026-05-02 18:24:43 +03:00
parent 41bb7d0149
commit 3e143f54bd
5 changed files with 3145 additions and 1894 deletions
+13 -5
View File
@@ -6,15 +6,20 @@
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
# https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
sed -i 's/60cd124908737068ab21c7773b3df71d00e186cd605f15bad9977232830aabc0/9456ca46168ef86c98399a2536f577ef7be3cdde90c0c51392d8ac48519d3fae/g' third_party/rust/encoding_rs/.cargo-checksum.json
sed -i 's/a066ad881d5a74386e666fc844f7fecbbd70021d0330c1b08a2d7a2a67437ccf/d7405d2bcf99cf9729075473c45f677630f4c1947c8ba9757db607f2025a7da2/g' third_party/rust/encoding_rs/.cargo-checksum.json
patch -Rp1 -i ../rust-build.patch
# Fix build with rust 1.95
# https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
patch -Np1 -i "$BPM_WORKDIR"/0002-Bug-2033279-Make-enable-rust-simd-work-with-Rust-1.9.patch
# Fix build with glibc 2.43
# https://bugzilla.mozilla.org/show_bug.cgi?id=1999625
patch -Np1 -i "$BPM_WORKDIR"/0001-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch
# https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
sed -i 's/b9432f9ed39742015f4bb4c3e75c89a2b9a9eef943dd0fd7cd889fddd1e6d39c/9456ca46168ef86c98399a2536f577ef7be3cdde90c0c51392d8ac48519d3fae/g' third_party/rust/encoding_rs/.cargo-checksum.json
patch -Rp1 -i ../rust-build.patch
patch -Np1 -i "$BPM_WORKDIR"/0002-Bug-2033279-Make-enable-rust-simd-work-with-Rust-1.9.patch
patch -i "$BPM_WORKDIR"/remove-duplicate-gkrust-features.diff "$BPM_SOURCE"/toolkit/library/rust/gkrust-features.mozbuild
# Generate mozconfig
@@ -59,6 +64,9 @@ build() {
export MOZBUILD_STATE_PATH="$BPM_SOURCE"/mozbuild
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
# Reduce chance of builds failung during linking due to running out of memory
export LDFLAGS+=" -Wl,--no-keep-memory"
./mach build
}