polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
This PR fixes the following deprecated feature warnings:
And the following warning (related issue https://github.com/mesonbuild/meson/issues/9300):