extra/firefox to 61.0.1-1

This commit is contained in:
Kevin Mihelich 2018-07-06 10:34:27 +00:00
parent 99b6eaf252
commit 2474959c15

View file

@ -12,7 +12,7 @@ buildarch=12
highmem=1
pkgname=firefox
pkgver=61.0
pkgver=61.0.1
pkgrel=1
pkgdesc="Standalone web browser from mozilla.org"
arch=(x86_64)
@ -30,7 +30,7 @@ options=(!emptydirs !makeflags !strip)
source=("https://hg.mozilla.org/releases/mozilla-release/archive/FIREFOX_${pkgver//./_}_RELEASE.tar.gz"
$pkgname.desktop firefox-symbolic.svg
https://hg.mozilla.org/mozilla-central/raw-rev/537f4d1d837a)
sha256sums=('8354a8c44857e5b0a592b3c3605e0532286a4309020b5d74c1532d8f6fa70bc5'
sha256sums=('3e90f1c7e6d71deae8aded701affb9fa0fefbbd6d6fa1cdb191931970c926650'
'677e1bde4c6b3cff114345c211805c7c43085038ca0505718a11e96432e9811a'
'9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797'
'9fa42f3a4ccd255b56f4157119c08ff19df9f972aa25af4cbb685e3683139c24')
@ -49,9 +49,6 @@ _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
_mozilla_api_key=16674381-f021-49de-8622-3021c5942aff
prepare() {
mkdir path
ln -s /usr/bin/python2 path/python
cd mozilla-release-FIREFOX_${pkgver//./_}_RELEASE
echo -n "$_google_api_key" >google-api-key
@ -62,8 +59,8 @@ ac_add_options --enable-application=browser
ac_add_options --prefix=/usr
ac_add_options --enable-release
#ac_add_options --enable-gold
#ac_add_options --enable-pie
#ac_add_options --enable-linker=gold
#ac_add_options --enable-hardening
ac_add_options --enable-rust-simd
# Branding
@ -115,15 +112,8 @@ END
build() {
cd mozilla-release-FIREFOX_${pkgver//./_}_RELEASE
# _FORTIFY_SOURCE causes configure failures
CPPFLAGS+=" -O2"
export PATH="$srcdir/path:$PATH"
export MOZ_SOURCE_REPO="$_repo"
# Do PGO
#xvfb-run -a -n 95 -s "-extension GLX -screen 0 1280x1024x24" \
# MOZ_PGO=1 ./mach build
./mach build
./mach buildsymbols
}