# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=firefox-nightly pkgver=132.0a1+20240927.1+h79ef00c1355d pkgrel=1 pkgdesc="Fast, Private & Safe Web Browser (Nightly version)" url="https://www.mozilla.org/firefox/channel/desktop/#nightly" arch=(x86_64) license=(MPL-2.0) depends=( alsa-lib at-spi2-core bash cairo dbus ffmpeg fontconfig freetype2 gcc-libs gdk-pixbuf2 glib2 glibc gtk3 hicolor-icon-theme libpulse libx11 libxcb libxcomposite libxdamage libxext libxfixes libxrandr libxss libxt mime-types nspr nss pango ttf-font ) makedepends=( cbindgen clang diffutils dump_syms imake jack lld llvm mercurial mesa nasm nodejs python rust unzip wasi-compiler-rt wasi-libc wasi-libc++ wasi-libc++abi xorg-server-xvfb yasm zip ) optdepends=( 'hunspell-en_US: Spell checking, American English' 'libnotify: Notification integration' 'networkmanager: Location detection via available WiFi networks' 'python: DMD (Dark Matter Detector) heap profiling' 'speech-dispatcher: Text-to-Speech' 'xdg-desktop-portal: Screensharing with Wayland' ) options=( !emptydirs !lto !makeflags ) _repo=https://hg.mozilla.org/mozilla-central source=( hg+$_repo $pkgname-symbolic.svg $pkgname.desktop org.mozilla.$pkgname.metainfo.xml firefox-install-dir.patch ) validpgpkeys=( # Mozilla Software Releases # https://blog.mozilla.org/security/2023/05/11/updated-gpg-key-for-signing-firefox-releases/ 14F26682D0916CDD81E37B6D61B7B526D98F0353 ) sha256sums=('SKIP' 'a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9' '4304902899987928ea51b7020fb1298b01fa77e327ef66ab00b061f767042b9f' '41f24752cf1a1d2f757cb14aa0fab34453470386800360c7689825f925c2ba91' '080a5e4d75484e19df2c65c6aeb0300bbe503f3a08fc0a52d84adc76c95eba72') b2sums=('SKIP' '63a8dd9d8910f9efb353bed452d8b4b2a2da435857ccee083fc0c557f8c4c1339ca593b463db320f70387a1b63f1a79e709e9d12c69520993e26d85a3d742e34' '9c748d4c330d37d10862c73b3092c0d4308030fb62ca80da56ba9b3c3350ba4d779570308d1dd8e2c7d873f269654b72030702c5abc772aabfdfe7f39320a8b9' '10329d1988275cbbe20edc8fa764e7743b75797132f222ccff68b3a3ecd45de3e63689e487afd8284a14226fe1827281717eb1b559896b7d5a3e6414c050243a' '286f44296e00a7b1ee3e62b51dc08bbba250430c1dd22c0be04a81abd817146bdf855e1e022a980030d93151fa372cbc481bfe69e910c57c9c6095e5a98952d7') # 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 pkgver() { cd mozilla-central local version=$(google-api-key cat >../mozconfig <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <