KDE and MiracleWM teams already have it, so this just fills it in for the rest of them. (cherry picked from commit 6816c7d501b80cf886560e716a2435399ba04150)
This ensures that the correct variant packages are installed.
This prepares for the future change to another compositor with Wayland.