# Maintainer: LinuxVieLoisir # Contributor: Ivan Shapovalov # Contributor: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=firefox-nightly-hg _pkgname=firefox-nightly pkgver=87.0a1.r561202.2231d839f1e7 _pkgver=87.0a1 pkgrel=1 pkgdesc="Standalone web browser from mozilla.org, nightly version" arch=(x86_64) license=(MPL GPL LGPL) _repo=https://hg.mozilla.org/mozilla-central url="https://www.mozilla.org/firefox/" depends=(gtk3 libxt startup-notification mime-types dbus-glib ffmpeg ttf-font libpulse) makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust ccache mercurial-hg icu clang llvm jack python nodejs python2-psutil cbindgen nasm xorg-server-xvfb autoconf2.13 rust clang llvm jack gtk2 python nodejs python2-psutil cbindgen nasm mercurial) optdepends=('networkmanager: Location detection via available WiFi networks' 'libnotify: Notification integration' 'pulseaudio: Audio support' 'speech-dispatcher: Text-to-Speech' 'hunspell-en_US: Spell checking, American English') conflicts=('firefox-nightly') options=(!emptydirs !makeflags !strip) source=("hg+$_repo" "firefox-nightly.desktop" "0001-Use-remoting-name-for-GDK-application-names.patch" "D90627.diff") sha512sums=('SKIP' '8b4ac564aaa39d5a3ea7fda12eed047687916fd9c084407157dd380d4a3db7cf41aebc4b6ab9aa2a5a3e1cddd1f03440f9471a6c091e5d8339bde193436612d0' 'afb4a230b3e87cfb71687b3fe375c78463e02a6f7b1daa15bf6127f6414c6c29bf2d8df372b59b4df7f90fc8929582e8aab4e3db5e8b54b1817c96aad00d92ea' '02480231cec469fba1e03f669f0a47954bf633f0487ed27d4e0f135d100d9ae023044ef659cc32915aa8acb8dbcbfa2a6a69c78a94700961f9fa80a18bd2f4eb') validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases # 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=e05d56db0a694edc8b5aaebda3f2db6a pkgver() { cd mozilla-central printf "${_pkgver}.r%s.%s" "$(hg identify -n)" "$(hg identify -i)" } prepare() { mkdir -p mozbuild cd mozilla-central # https://bugzilla.mozilla.org/show_bug.cgi?id=1530052 patch -Np1 -i ../0001-Use-remoting-name-for-GDK-application-names.patch # https://phabricator.services.mozilla.com/D90627 #patch -Np1 -i ../D90627.diff echo -n "$_google_api_key" >google-api-key echo -n "$_mozilla_api_key" >mozilla-api-key cat >.mozconfig <