# $Id$ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=firefox pkgver=60.0.1 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 sqlite ttf-font libpulse libvpx icu) makedepends=(unzip zip diffutils python2 yasm mesa imake gconf inetutils xorg-server-xvfb autoconf2.13 rust mercurial clang llvm jack gtk2) optdepends=('networkmanager: Location detection via available WiFi networks' 'libnotify: Notification integration' 'pulseaudio: Audio support' 'speech-dispatcher: Text-to-Speech') options=(!emptydirs !makeflags !strip) _repo=https://hg.mozilla.org/mozilla-unified source=("hg+$_repo#tag=FIREFOX_${pkgver//./_}_RELEASE" complete-csd-window-offset-mozilla-1457691.patch.xz 0001-Bug-1435212-Add-support-for-FFmpeg-4.0.-r-bryce.patch.xz $pkgname.desktop firefox-symbolic.svg no-crmf.diff vendor.js) sha256sums=('SKIP' 'a3fb3c3b6fb775c99afdbad507848b77c5e4bbaac2e8ceeb1bfb47699c4b6268' '8422030440032535d918844263fbd92d39bff207acb5fff55ed0afee38bcf582' '677e1bde4c6b3cff114345c211805c7c43085038ca0505718a11e96432e9811a' '9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797' '02000d185e647aa20ca336e595b4004bb29cdae9d8f317f90078bdcc7a36e873' 'ea7c74586629bf0a888e0a67c2d3ce155a45a34f5391e49e478d5bdcd09fed8b') prepare() { mkdir path ln -s /usr/bin/python2 path/python cd mozilla-unified # https://bugzilla.mozilla.org/show_bug.cgi?id=1283299#c158 patch -Np1 -i ../complete-csd-window-offset-mozilla-1457691.patch # https://bugzilla.mozilla.org/show_bug.cgi?id=1435212 patch -Np1 -i ../0001-Bug-1435212-Add-support-for-FFmpeg-4.0.-r-bryce.patch # https://bugzilla.mozilla.org/show_bug.cgi?id=1371991 patch -Np1 -i ../no-crmf.diff cat >.mozconfig <