# Maintainer: # Based on the official firefox package by: # Contributor: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=waterfox pkgver=G3.2.1 pkgrel=1 pkgdesc="Fork of Mozilla Firefox featuring some legacy extensions, removed telemetry and no Pocket integration. This is the Current branch." arch=(x86_64) license=(MPL GPL LGPL) url="https://www.waterfox.net/" depends=(gtk3 gtk2 libxt mime-types dbus-glib nss ttf-font) makedepends=(unzip zip diffutils python2-setuptools yasm mesa imake inetutils xorg-server-xvfb autoconf2.13 rust clang llvm lld jack python nodejs python2-psutil cbindgen nasm libpulse) optdepends=('libnotify: Notification integration' 'libpulse: Audio support via Pulseaudio' 'jack: Audio support via JACK' 'ffmpeg: Multimedia playback' 'speech-dispatcher: Text-to-Speech' 'hunspell-en_US: Spell checking, American English') options=(!emptydirs !makeflags !strip) _archivename=G3.2.1 # patch releases don't follow the same format so we can't use $pkgver source=(Waterfox-$_archivename.tar.gz::https://github.com/MrAlex94/Waterfox/archive/$_archivename.tar.gz $pkgname.desktop 0001-Use-remoting-name-for-GDK-application-names.patch) sha256sums=('58957556ef101d308dcc8fd1677369aefbb9f2fd93ed9db4f28ded8b274b9af5' '3c8a3e73ffcb4670ca25fc7087b9c5d93ebbef2f3be8a33cf81ae424c3f27fa3' '1dba448eb1605c9dc73c22861a5394b50055909399f056baee4887b29af1b51e') #_disable_pgo=y # uncomment this to disable building the profiled browser and using PGO prepare() { mkdir -p mozbuild cd Waterfox-$_archivename # https://bugzilla.mozilla.org/show_bug.cgi?id=1530052 patch -Np1 -i ../0001-Use-remoting-name-for-GDK-application-names.patch cat >../mozconfig <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <