Wayfire is compiz for wayland (with links)

As a first it looks you're missing "cmake" and prolly other (Debian) build tools. You need to get:

api build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder
And mesonbuild has some clarifications:
https://mesonbuild.com/SimpleStart.html

It's a bit tricky to install LFS stuff on a Debian system as you will miss out on some dependencies.
It might be better to get the latest versions either as a .deb package (which will prolly fail to install, lacking dependencies) or from the meson git page.

There are ways of creating an own .deb from a git repo containing source code BTW.