Patch chromium?

ungoogled-chromium is a derivation of chromium package. I’d like to add VAAPI patches from aur.git - AUR Package Repositories to Chromium itself (the base layer) instead of the derivation (ungoogled-chromium).

What would be the correct way of doing this?