Hi Daniel,
About the 5.1 release as i found a package i made an ebuild for it.
Btw, in the gentoo packaging system the 9999 version is used for git pull releases. Using static version 5.4.0 will require an archive to download and unpack.
I hope to be clear.
Kind regards
Federico Santulli