Tainted Mesa DRI drivers for Mageia 9

Hi,
I've made a procedure to enable Mesa support for optional video codecs to lower CPU usage and save battery life while video encoding and decoding.
This procedure is for those who want to do it on their own.
This is to work around this pending issue: https://bugs.mageia.org/show_bug.cgi?id=32060
Edit: Inaccuracies have been corrected in the procedure.
Edit2: Simplified installation (and update).
Edit3: Fixed "sudo" bug in the building script
Edit4: Fixed "sudo" bug in the installation script; Fixed issues when trying to install 23.1.7 update.
I've made a procedure to enable Mesa support for optional video codecs to lower CPU usage and save battery life while video encoding and decoding.
This procedure is for those who want to do it on their own.
This is to work around this pending issue: https://bugs.mageia.org/show_bug.cgi?id=32060
Edit: Inaccuracies have been corrected in the procedure.
Edit2: Simplified installation (and update).
Edit3: Fixed "sudo" bug in the building script
Edit4: Fixed "sudo" bug in the installation script; Fixed issues when trying to install 23.1.7 update.