# $Id$ # Maintainer : Figue # Contributor : Ionut Biru # Contributor: Jakub Schmidtke pkgname=firefox-esr60 _pkgname=firefox-esr pkgver=60.9.0 pkgrel=1 pkgdesc="Standalone web browser from mozilla.org, Extended Support Release 60.x" arch=(x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/en-US/firefox/organizations/" depends=(gtk3 mozilla-common libxt startup-notification mime-types dbus-glib ffmpeg nss hunspell ttf-font libpulse) makedepends=(unzip zip diffutils python2 yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2) optdepends=('networkmanager: Location detection via available WiFi networks' 'libnotify: Notification integration' 'pulseaudio: Audio support' 'speech-dispatcher: Text-to-Speech') provides=(firefox) conflicts=(firefox) options=(!emptydirs !makeflags !strip) source=(https://ftp.mozilla.org/pub/firefox/releases/${pkgver}esr/source/firefox-${pkgver}esr.source.tar.xz firefox.desktop firefox-symbolic.svg rust_133-part0.patch 'rust_133-part1.patch::https://bugzilla.mozilla.org/attachment.cgi?id=9046663' 'rust_133-part2.patch::https://bugzilla.mozilla.org/attachment.cgi?id=9046664' deny_missing_docs.patch) sha256sums=('9f453c8cc5669e46e38f977764d49a36295bf0d023619d9aac782e6bb3e8c53f' '78a920ffdd44e1d51445e7255da4863604be96a4b3cd7a7cb13ecc2efae6cb39' 'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9' 'c10521badc262b476e844d3f3045ddf27e28d83d49b5db0d0e19431f06386e4d' '8b37332dd205946ea95c606103b5b0e1e8498819051ea1c1bce79f04fd88ebca' '08ab4293d6008524a38e20b428c750c4c55a2f7189e9a0067871ad723c1efab5' 'cb1116c783995b8187574f84acb8365681aedaa2c76222cf060d31fedcb063c4') validpgpkeys=('2B90598A745E992F315E22C58AB132963A06537A') # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys) # Note: These are for Arch Linux use ONLY. For your own distribution, please # get your own set of keys. Feel free to contact foutrelis@archlinux.org for # more information. _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM # Mozilla API keys (see https://location.services.mozilla.com/api) # Note: These are for Arch Linux use ONLY. For your own distribution, please # get your own set of keys. Feel free to contact heftig@archlinux.org for # more information. _mozilla_api_key=16674381-f021-49de-8622-3021c5942aff prepare() { cd firefox-${pkgver} # Bug 1521249 --enable-rust-simd fails to build using Rust 1.33 # https://bugzilla.mozilla.org/show_bug.cgi?id=1521249 patch -Np1 -i ../rust_133-part0.patch patch -Np1 -i ../rust_133-part1.patch || true patch -Np1 -i ../rust_133-part2.patch patch -Np1 -i ../deny_missing_docs.patch rm -vf third_party/rust/boxfnonce/.travis/id_rsa.enc echo -n "$_google_api_key" >google-api-key echo -n "$_mozilla_api_key" >mozilla-api-key cat >.mozconfig <