# Maintainer: # Based on the official firefox package by: # Contributor: Jan Alexander Steffens (heftig) # Contributor: Ionut Biru # Contributor: Jakub Schmidtke pkgname=waterfox pkgver=2020.09 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 startup-notification 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=2020.09-current # 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 0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch 0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch) sha256sums=('458f372f08ce5791a4f561372a78f2e212c8bb2245a59d89c0901ce50431b8c1' '3c8a3e73ffcb4670ca25fc7087b9c5d93ebbef2f3be8a33cf81ae424c3f27fa3' 'c2489a4ad3bfb65c064e07180a1de9a2fbc3b1b72d6bc4cd3985484d1b6b7b29' '52cc26cda4117f79fae1a0ad59e1404b299191a1c53d38027ceb178dab91f3dc') #_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=1654465 #patch -Np1 -i ../bug1654465.diff # https://bugs.archlinux.org/task/67978 # https://bugzilla.mozilla.org/show_bug.cgi?id=1660901 patch -Np1 -i ../0002-Bug-1660901-Support-the-fstat-like-subset-of-fstatat.patch patch -Np1 -i ../0003-Bug-1660901-ignore-AT_NO_AUTOMOUNT-in-fstatat-system.patch cat >../mozconfig <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <