* 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

View file

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