# $Id$ # Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=firefox-beta name=firefox-beta pkgver=59.0.3 ver=59.0.b3 pkgrel=5 pkgdesc="Standalone web browser from mozilla.org, with telemetry, webrtc and signing disabled" 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=DEVEDITION_${ver//./_}_RELEASE" https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/$name.desktop https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/firefox-symbolic.svg 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-telemetry.patch https://raw.githubusercontent.com/bn0785ac/firefox-beta/master/id.patch ) sha256sums=('2a8d7905ba5312cfebc6bc2ae01a2e5ee76172f155ea439e6982671ff3df9419' 'd6b4c91a7fe77f9a335b44b943e120ce44511e46bbb16ae305cc82b4c3db66cd' 'a2474b32b9b2d7e0fb53a4c89715507ad1c194bef77713d798fa39d507def9e9' 'bdad68eafe110b9f94a0e025635e32a6ab53e2f9adcd594c8dd2e3225f6453ab' '8d9afa1f940a9dac689ead40a57990d1491f34a1787b2222f8f5b5e485d54103' '24019d3d7e6b169087d4515db9d3a179239d1e4fe726f0906f6f26877c726040' '7e44bd2eb4ce243ef47451e64e793203c8d637f900c86889106eb7f8adf79296') # 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 ../id.patch 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 <