# Maintainer: jc_gargma # Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor: Aqua-sama # Contributor (Arch): Ionut Biru # Contributor (Arch): Jakub Schmidtke # # I maintain this because: # Arch version uses git # Arch version requires signed addons # Arch version doesn't remove system addons # Arch version lacks privacy and security by default # Arch version doesn't support alsa pkgname=firefox pkgver=63.0.1 bz2ver=$(echo $pkgver | sed 's/\./_/g') 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_CA sqlite ttf-font alsa-lib libvpx icu) makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust mercurial clang llvm gtk2 python python2-psutil cbindgen) optdepends=('networkmanager: Location detection via available WiFi networks' 'libnotify: Notification integration' 'speech-dispatcher: Text-to-Speech') options=(!emptydirs !makeflags !strip) source=(firefox-$pkgver.tar.bz2::https://hg.mozilla.org/releases/mozilla-release/archive/FIREFOX_${bz2ver}_RELEASE.tar.bz2 $pkgname.desktop firefox-symbolic.svg 0001-Keep-mozilla-release-building-with-newer-cbindgen-ve.patch vendor.js package-manifest.diff) sha256sums=('87eb045d6eb9d46f76a96d91b2138d584f3dc88f1e6e6989774bc988dc14197d' '677e1bde4c6b3cff114345c211805c7c43085038ca0505718a11e96432e9811a' '9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797' 'a1e523f830f28217e050991062358c91be254e21732a6391449a8c0e3e0de77f' '08f344956146b273dabdfe2451a21c216ed76eb3cfad2e2b3f018f3991d0bb80' '28e5db73f04ce8794f68822deda5512c64f832e542ad58fb7e40cad9e4785664') prepare() { mkdir mozbuild cd mozilla-release-FIREFOX_${bz2ver}_RELEASE # https://bugzilla.mozilla.org/show_bug.cgi?id=1503401 patch -Np1 -i ../0001-Keep-mozilla-release-building-with-newer-cbindgen-ve.patch cat >$srcdir/mozilla-release-FIREFOX_${bz2ver}_RELEASE/.mozconfig <