# $Id$ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=firefox-eme-free pkgver=57.0.1 pkgrel=1 pkgdesc="Deblobbed and EME free Firefox" arch=(i686 x86_64) license=(MPL GPL LGPL) url="https://www.mozilla.org/firefox/" depends=(gtk3 gtk2 mozilla-common libxt startup-notification mime-types dbus-glib ffmpeg nss hunspell sqlite ttf-font libpulse) makedepends=(unzip zip diffutils python2 yasm mesa imake gconf inetutils xorg-server-xvfb autoconf2.13 rust mercurial clang llvm jack) 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" wifi-disentangle.patch wifi-fix-interface.patch 0001-Bug-1384062-Make-SystemResourceMonitor.stop-more-res.patch no-plt.diff plugin-crash.diff glibc-2.26-fix.diff $pkgname.desktop firefox-symbolic.svg firefox-install-dir.patch https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/firefox-52-disable-data-sharing-infobar.patch https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/firefox-52-disable-location.services.mozilla.com.patch https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/firefox-52-disable-reader.patch https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/firefox-52-disable-sponsored-tiles.patch https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/firefox-52-disable-telemetry.patch https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/firefox-52-prefs.patch) sha256sums=('SKIP' 'f068b84ad31556095145d8fefc012dd3d1458948533ed3fff6cbc7250b6e73ed' 'e98a3453d803cc7ddcb81a7dc83f883230dd8591bdf936fc5a868428979ed1f1' 'aba767995ffb1a55345e30aaba667f43d469e23bd9b1b68263cf71b8118acc96' 'ea8e1b871c0f1dd29cdea1b1a2e7f47bf4713e2ae7b947ec832dba7dfcc67daa' 'a7e5d2430bb562f6367deb07417dad4368317e8e8be5d1cfa842c3356de3cfc0' 'cd7ff441da66a287f8712e60cdc9e216c30355d521051e2eaae28a66d81915e8' 'ada313750e6fb14558b37c764409a17c1672a351a46c73b350aa1fe4ea9220ef' 'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9' 'd86e41d87363656ee62e12543e2f5181aadcff448e406ef3218e91865ae775cd' 'bdad68eafe110b9f94a0e025635e32a6ab53e2f9adcd594c8dd2e3225f6453ab' '8d9afa1f940a9dac689ead40a57990d1491f34a1787b2222f8f5b5e485d54103' '7f171b7d69866ac6d8945ab0867b2646964362c791875c6428b4c2c8e3f3fb5b' 'a72c657784dc5804509456d9ba39ccc8d5e5998c847f49abbcfeb2a547290815' '24019d3d7e6b169087d4515db9d3a179239d1e4fe726f0906f6f26877c726040' '80d6181d11c200aca2781f69ffeafb59ea23952304d161c2812a2f5a98b273b0') # 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. # 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. prepare() { mkdir path ln -s /usr/bin/python2 path/python cd mozilla-unified patch -Np1 -i ../firefox-install-dir.patch # https://bugzilla.mozilla.org/show_bug.cgi?id=1314968 patch -Np1 -i ../wifi-disentangle.patch patch -Np1 -i ../wifi-fix-interface.patch # https://bugzilla.mozilla.org/show_bug.cgi?id=1384062 # https://bugzilla.mozilla.org/show_bug.cgi?id=1382942 patch -Np1 -i ../no-plt.diff # https://bugzilla.mozilla.org/show_bug.cgi?id=1400175 # https://bugzilla.mozilla.org/show_bug.cgi?id=1385667 # https://bugzilla.mozilla.org/show_bug.cgi?id=1394149 patch -Np1 -i ../firefox-52-disable-data-sharing-infobar.patch patch -Np1 -i ../firefox-52-disable-location.services.mozilla.com.patch patch -Np1 -i ../firefox-52-disable-telemetry.patch cat >.mozconfig <