Tried downloading from the parent branch, editing PKGBUILD with the -D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \
modification. Compilation was successful. But installing the compiled mesa drivers did not provide support for the required codecs.
Looking here…