mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
extra/firefox to 69.0-1
This commit is contained in:
parent
05300ade16
commit
69e0ab35ff
1 changed files with 5 additions and 24 deletions
|
@ -11,7 +11,7 @@ highmem=1
|
|||
noautobuild=1
|
||||
|
||||
pkgname=firefox
|
||||
pkgver=68.0.2
|
||||
pkgver=69.0
|
||||
pkgrel=1
|
||||
pkgdesc="Standalone web browser from mozilla.org"
|
||||
arch=(x86_64)
|
||||
|
@ -33,7 +33,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 firefox-symbolic.svg)
|
||||
sha256sums=('9b3e6d8f99819f9eda9ebba403b644a2b96d19450b42cae422bbf4386902a840'
|
||||
sha256sums=('413c3febdfeb69eade818824eecbdb11eaeda71de229573810afd641ba741ec5'
|
||||
'SKIP'
|
||||
'ab07ab26617ff76fce68e07c66b8aa9b96c2d3e5b5517e51a3c3eac2edd88894'
|
||||
'bc00516032330760444939c516a60c78f868631e1b37f075f0fe71a53737b966'
|
||||
|
@ -55,26 +55,6 @@ _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
|
|||
# more information.
|
||||
_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
|
||||
|
||||
# For telemetry and crash dump analysis to work correctly, we need to tell the
|
||||
# build system which Mercurial changeset is our source. Should not be needed
|
||||
# anymore once 69 is released:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1338099
|
||||
_repo=https://hg.mozilla.org/releases/mozilla-release
|
||||
_tag=FIREFOX_${pkgver//./_}_RELEASE
|
||||
|
||||
_changeset=7ece03f6971968eede29275477502309bbe399da
|
||||
_changeset_tag=FIREFOX_68_0_2_RELEASE
|
||||
|
||||
if [[ $1 == update_hgrev ]]; then
|
||||
_changeset=$(hg id -r $_tag --id $_repo --template '{node}')
|
||||
sed -e "/^_changeset=/s/=.*/=$_changeset/;/^_changeset_tag=/s/=.*/=$_tag/" \
|
||||
-i "${BASH_SOURCE[0]}"
|
||||
exit 0
|
||||
elif [[ $_tag != $_changeset_tag ]]; then
|
||||
error "Changeset needs update. Run: bash PKGBUILD update_hgrev"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
prepare() {
|
||||
mkdir mozbuild
|
||||
cd firefox-$pkgver
|
||||
|
@ -150,15 +130,16 @@ END
|
|||
build() {
|
||||
cd firefox-$pkgver
|
||||
|
||||
export MOZ_SOURCE_REPO="$_repo"
|
||||
export MOZ_SOURCE_CHANGESET="$_changeset"
|
||||
export MOZ_NOSPAM=1
|
||||
export MOZBUILD_STATE_PATH="$srcdir/mozbuild"
|
||||
|
||||
# LTO needs more open files
|
||||
ulimit -n 4096
|
||||
|
||||
msg2 "Building optimized browser..."
|
||||
./mach build
|
||||
|
||||
msg2 "Building symbol archive..."
|
||||
./mach buildsymbols
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue