extra/firefox to 81.0-1

This commit is contained in:
Kevin Mihelich 2020-09-22 23:21:58 +00:00
parent 805cd3c109
commit 66c7994ab5

View file

@ -10,7 +10,7 @@ buildarch=12
highmem=1
pkgname=firefox
pkgver=80.0.1
pkgver=81.0
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=(x86_64)
@ -19,7 +19,7 @@ url="https://www.mozilla.org/firefox/"
depends=(gtk3 libxt mime-types dbus-glib ffmpeg nss ttf-font libpulse)
makedepends=(unzip zip diffutils yasm mesa imake inetutils xorg-server-xvfb
autoconf2.13 rust clang llvm jack gtk2 nodejs cbindgen nasm
python-setuptools python-psutil lld)
python-setuptools python-psutil python-zstandard lld)
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'pulseaudio: Audio support'
@ -31,7 +31,7 @@ source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-
build-arm-libopus.patch
0001-Use-remoting-name-for-GDK-application-names.patch
$pkgname.desktop)
sha256sums=('596b085e32a2d683ba960e161ea65c6271f90f576d4bf956e0d48e83af992c21'
sha256sums=('9328745012178aee5a4f47c833539f7872cc6e0f20a853568a313e60cabd1ec8'
'SKIP'
'bc00516032330760444939c516a60c78f868631e1b37f075f0fe71a53737b966'
'2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9'
@ -135,6 +135,8 @@ build() {
export MOZ_NOSPAM=1
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
export MOZ_ENABLE_FULL_SYMBOLS=1
export MACH_USE_SYSTEM_PYTHON=1
# LTO needs more open files
ulimit -n 4096
@ -209,12 +211,11 @@ END
ln -srfv "$pkgdir/usr/lib/libnssckbi.so" "$nssckbi"
fi
if [[ -f "$startdir/.crash-stats-api.token" ]]; then
find . -name '*crashreporter-symbols-full.zip' -exec \
"$startdir/upload-symbol-archive" "$startdir/.crash-stats-api.token" {} +
export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE="$startdir/.crash-stats-api.token"
if [[ -f $SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE ]]; then
make -C obj uploadsymbols
else
find . -name '*crashreporter-symbols-full.zip' -exec \
cp -fvt "$startdir" {} +
cp -fvt "$startdir" obj/dist/*crashreporter-symbols-full.tar.zst
fi
}