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