* Fixed variable name and improved code in heavybuilds/firefox build file

* Replaced underscore with hyphen in net buildlist file
This commit is contained in:
PktSurf 2022-07-16 17:54:42 +05:30
parent a597075434
commit bad92445e6
2 changed files with 7 additions and 9 deletions

View file

@ -44,7 +44,7 @@ build() {
applypatch $srcdir/symboltable.patch
export SHELL=/bin/sh
export build_OFFICIAL=1
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
export MACH_USE_SYSTEM_PYTHON=1
export USE_SHORT_LIBNAME=1
@ -54,12 +54,12 @@ build() {
cp $srcdir/stab.h toolkit/crashreporter/google-breakpad/src/
_clear_vendor_checksums() {
clear_vendor_checksums() {
sed -i 's/\("files":{\)[^}]*/\1/' third_party/rust/$1/.cargo-checksum.json
}
_clear_vendor_checksums audio_thread_priority
_clear_vendor_checksums target-lexicon-0.9.0
clear_vendor_checksums audio_thread_priority
clear_vendor_checksums target-lexicon-0.9.0
unset MAKEFLAGS
export BINDGEN_CFLAGS="--sysroot="/" --target="$arch-linux-musl""
@ -125,11 +125,9 @@ build() {
# script, replacing it with another script that has LD_LIBRARY_PATH set
# for correct detection of libs at runtime, so we follow suit
mkdir -p $pkg/bin
rm -rf $pkg/include $pkg/lib/firefox-devel-$version
rm -f $pkg/bin/firefox
cp $srcdir/firefox $pkg/bin/
chmod +x $pkg/bin/firefox
install -Dm 755 $srcdir/firefox $pkg/bin/firefox
install -Dm 644 $srcdir/mozicon128.png $pkg/share/pixmaps/firefox.png
install -Dm 644 $srcdir/firefox.desktop $pkg/share/applications/firefox.desktop
@ -155,4 +153,4 @@ a763228d0742be7323c7b2dafff173d48e261307372ed4445a8f1d583f0cebaf125b46d0abb1daa4
db26757b2ebf9f567962e32294b4ae48b3a5d0378a7589dfe650fe3a179ff58befbab5082981c68e1c25fb9e56b2db1e4e510d4bca17c3e3aedbf9a2f21806eb sandbox-sched_setscheduler.patch
7c8584c39c8d3d2c8b0bd430fea6d835359580419e6676d06d9f5973c43222de3f314d9f42ee6a492544af5882596dba20373d8fcad9c82d0ce454aa40066e9f symboltable.patch
0b3f1e4b9fdc868e4738b5c81fd6c6128ce8885b260affcb9a65ff9d164d7232626ce1291aaea70132b3e3124f5e13fef4d39326b8e7173e362a823722a85127 stab.h
"
"

View file

@ -57,7 +57,7 @@ comgt
cifs-utils
dnsmasq
unbound
wpa_supplicant
wpa-supplicant
hostapd
sylpheed
minidlna