How do I install Gamemode?

Ive been trying to install Gamemode recently, but every time i run ./bootstrap.sh I get a meson error even though I have it installed.

You shouls ask the question in their repo.

Try this steps

Installing all the prerequisite

sudo swupd bundle-add devpkg-dbus devpkg-systemd dev-utils

Gamemode installation

cd ~/Downloads
git clone https://github.com/FeralInteractive/gamemode.git
cd gamemode
git checkout 1.5
./bootstrap.sh

It gives me the exact same error

Are you used the same build folder or git cloned to new one? Please double check that you are doing completely new build in new build folder.

i’m using a completely new build folder