# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=firefox-nightly pkgver=149.0a1+20260213.1+h06d48ece4edf 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 onnxruntime 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' 'onnxruntime: Local machine learning features such as smart tab groups' '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 0001-Install-under-remoting-name.patch 0002-Patch-glsl-optimizer-to-build-with-glibc-2.43.patch 0003-Fix-sandbox-to-build-with-glibc-2.43.patch ) validpgpkeys=( # Mozilla Software Releases # https://blog.mozilla.org/security/2025/04/01/updated-gpg-key-for-signing-firefox-releases-2/ 14F26682D0916CDD81E37B6D61B7B526D98F0353 ) sha256sums=('SKIP' 'a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9' '4304902899987928ea51b7020fb1298b01fa77e327ef66ab00b061f767042b9f' '9649563e8703b4f4b43469029fe20e3bd0c1209dbaa4c2d664c00e089abd7fa0' 'd5380f8d8b908654d7816eaffa4ffa954f438cecac23fe650a399345904c9af7' '104eda1333911402a6426f34cb194626c4cc4a94d7e5f3ae9c1e7f9003c3316d' '8d2182ae8660474ac567482fe6658af77f3b402314e361c846528ae171586245') b2sums=('SKIP' '63a8dd9d8910f9efb353bed452d8b4b2a2da435857ccee083fc0c557f8c4c1339ca593b463db320f70387a1b63f1a79e709e9d12c69520993e26d85a3d742e34' '9c748d4c330d37d10862c73b3092c0d4308030fb62ca80da56ba9b3c3350ba4d779570308d1dd8e2c7d873f269654b72030702c5abc772aabfdfe7f39320a8b9' '561d6fd3b394eee3242c1db12c0520e865488b3e5c1943a398994857b1fcad520ed4387ea93bc9402356649a0b3db6911bcd3a9f8d388bbe88a58a2efec0aa14' '09a880c88104c19c1efaa44716a4e03c5ae3adf5f573a6e2e7ae8f369f712c46f56432570fba52ba22c99f943da3278ffc1f8a5940c04917eace2db284526de4' 'b79aed2808c88d05a46f8b48012b3d543ba6a96016cf462f6357bc528dbea424a81c03118ea9f6f20c35a640558ef00205fc8a28c358f1dc4a0613e79ed550d3' '87e514cb3d5045489176a6d335f23ef82fa7b2805f689d8e4d9090dccf426c432e862a5dd537d91ceab6cc0a531fef9aa31fa2526666926224fcfdbd86c991a9') # Google API keys (see https://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. _google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM pkgver() { cd mozilla-central local version=$(google-api-key cat >../mozconfig <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <