diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2026-03-02 00:08:14 +0000 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2026-03-02 00:08:14 +0000 |
| commit | 8ca72161f4af1c51192f5878cfc0e39a0ee84a03 (patch) | |
| tree | 6a745cb23a39b8c63a9dd9d293bbc53f384014e8 /repos/extra/librewolf/abuild | |
| parent | 020d4bcb24c405908e274f62074f7bc23663454a (diff) | |
| download | alicelinux-8ca72161f4af1c51192f5878cfc0e39a0ee84a03.tar.gz alicelinux-8ca72161f4af1c51192f5878cfc0e39a0ee84a03.zip | |
librewolf: updated to 148.0.1
Diffstat (limited to 'repos/extra/librewolf/abuild')
| -rw-r--r-- | repos/extra/librewolf/abuild | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/repos/extra/librewolf/abuild b/repos/extra/librewolf/abuild index 4dd2ce9c..a6125075 100644 --- a/repos/extra/librewolf/abuild +++ b/repos/extra/librewolf/abuild @@ -1,14 +1,31 @@ name=librewolf -version=146.0.1.1 +version=148.0.1 _ver=${version%.*} _sion=${version##*.} _version=${_ver}-${_sion} release=1 -source="https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${_version}/librewolf-${_version}.source.tar.gz +source="https://codeberg.org/api/packages/librewolf/generic/librewolf-source/${_version}/librewolf-${_version}.source.tar.gz + enable-jxl.patch + fix-webrtc-pid_t.patch + gtk-focus-mask.patch + libcxx18.patch + musl-heap-reporter.patch + musl-no-features-h.patch musl-prctl.patch - libcxx18.patch" + musl-pread64.patch + musl-pthread-name.patch + musl-sandbox-libgcc.patch + musl-sandbox-sched.patch + musl-siginfo.patch + musl-single-threaded.patch + no-build-id.patch" build() { + # musl: allow select() syscall in all sandbox policies + awk '/CASES_FOR_poll:/{print; print "#ifdef __NR_select"; print " case __NR_select:"; print "#endif"; next}1' \ + security/sandbox/linux/SandboxFilter.cpp > SandboxFilter.tmp + mv SandboxFilter.tmp security/sandbox/linux/SandboxFilter.cpp + cat > mozconfig << EOF ac_add_options --prefix=/usr ac_add_options --libdir=/usr/lib @@ -49,16 +66,11 @@ ac_add_options --disable-system-extension-dirs ac_add_options --disable-default-browser-agent ac_add_options --disable-backgroundtasks ac_add_options --disable-webspeech +ac_add_options --enable-default-toolkit=cairo-gtk3-wayland-only ac_add_options --target=x86_64-unknown-linux-musl ac_add_options --host=x86_64-unknown-linux-musl EOF - if [ -f $SPM_PKGDB/libx11 ] && [ ! -f $SPM_PKGDB/wayland ]; then - echo "ac_add_options --enable-default-toolkit=cairo-gtk3-x11-only" >> mozconfig - elif [ -f $SPM_PKGDB/wayland ] && [ ! -f $SPM_PKGDB/libx11 ]; then - echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland-only" >> mozconfig - fi - if [ -e '/usr/bin/ccache' ]; then echo 'ac_add_options --enable-ccache' >> mozconfig PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//') |