From d8a03c9dfa91d2a88a51d44cc2565263618e3e77 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 23 Oct 2018 23:48:39 +0000 Subject: [PATCH] extra/firefox to 63.0-1 --- extra/firefox/PKGBUILD | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index d1860c0c8..f206e90cf 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -10,18 +10,20 @@ buildarch=12 highmem=1 +noautobuild=1 pkgname=firefox -pkgver=62.0.3 +pkgver=63.0 pkgrel=1 pkgdesc="Standalone web browser from mozilla.org" arch=(x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/firefox/" -depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib ffmpeg - nss hunspell-en_US sqlite ttf-font libpulse libvpx icu) -makedepends=(unzip zip diffutils python2 yasm mesa imake inetutils xorg-server-xvfb - autoconf2.13 rust mercurial clang llvm jack gtk2 python) +depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib + ffmpeg nss hunspell-en_US sqlite ttf-font libpulse libvpx icu) +makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils + xorg-server-xvfb autoconf2.13 rust mercurial clang llvm jack gtk2 + python nodejs python2-psutil cbindgen) optdepends=('networkmanager: Location detection via available WiFi networks' 'libnotify: Notification integration' 'pulseaudio: Audio support' @@ -30,7 +32,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=('c2ad388caa2d679c0740090c7071b4fa91c7ba0d7cea9aac2aad465a801ba257' +sha256sums=('47ff34ff0ec51cdf7f5c453d91054543e123500b65593891e50144189adc04b8' '677e1bde4c6b3cff114345c211805c7c43085038ca0505718a11e96432e9811a' '9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797' '9fa42f3a4ccd255b56f4157119c08ff19df9f972aa25af4cbb685e3683139c24') @@ -49,6 +51,7 @@ _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM _mozilla_api_key=16674381-f021-49de-8622-3021c5942aff prepare() { + mkdir mozbuild cd mozilla-release-FIREFOX_${pkgver//./_}_RELEASE echo -n "$_google_api_key" >google-api-key @@ -59,7 +62,6 @@ ac_add_options --enable-application=browser ac_add_options --prefix=/usr ac_add_options --enable-release -#ac_add_options --enable-linker=gold #ac_add_options --enable-hardening ac_add_options --enable-rust-simd @@ -79,15 +81,15 @@ ac_add_options --with-mozilla-api-keyfile=${PWD@Q}/mozilla-api-key ac_add_options --disable-webrtc # System libraries -ac_add_options --with-system-zlib +ac_add_options --enable-system-ffi +ac_add_options --enable-system-sqlite ac_add_options --with-system-bz2 ac_add_options --with-system-icu ac_add_options --with-system-jpeg ac_add_options --with-system-libvpx ac_add_options --with-system-nspr ac_add_options --with-system-nss -ac_add_options --enable-system-sqlite -ac_add_options --enable-system-ffi +ac_add_options --with-system-zlib # Features ac_add_options --enable-alsa @@ -114,6 +116,8 @@ build() { cd mozilla-release-FIREFOX_${pkgver//./_}_RELEASE export MOZ_SOURCE_REPO="$_repo" + export MOZ_NOSPAM=1 + export MOZBUILD_STATE_PATH="$srcdir/mozbuild" ./mach build ./mach buildsymbols