tce-load -i compiletc meson webkitgtk4-dev gcr-dev libarchive-dev libdazzle-dev libhandy1-dev gettext desktop-file-utils appstream-glib gnome-desktop-dev intltool itstool

wget https://download.gnome.org/sources/epiphany/40/epiphany-40.6.tar.xz

cd epiphany-40.6

mkdir build
cd build

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --localstatedir=/var --libexecdir=/usr/local/lib/epiphany --buildtype=plain -Dlibportal=disabled

ninja [1m 19.50s]
sudo ninja install

epiphany 40.6

  User defined options
    buildtype    : plain
    libexecdir   : /usr/local/lib/epiphany
    localstatedir: /var
    prefix       : /usr/local
    libportal    : disabled