Remote session support needs to be able to start systemd units and also manage gnome-remote-desktop. This commit adds a polkit policy to accomodate both subactions with one overarching action that only needs to be unlocked one time.
22 lines
586 B
Meson
22 lines
586 B
Meson
install_data(
|
|
'org.gnome.Settings-remote-desktop-symbolic.svg',
|
|
install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
|
|
)
|
|
|
|
polkit_conf = configuration_data()
|
|
polkit_conf.set('libexecdir', control_center_libexecdir)
|
|
polkit = 'org.gnome.controlcenter.remote-session-helper.policy'
|
|
|
|
polkit_in = configure_file(
|
|
input: polkit + '.in.in',
|
|
output: polkit + '.in',
|
|
configuration: polkit_conf
|
|
)
|
|
|
|
i18n.merge_file(
|
|
input: polkit_in,
|
|
output: polkit,
|
|
po_dir: po_dir,
|
|
install: true,
|
|
install_dir: join_paths(control_center_datadir, 'polkit-1', 'actions')
|
|
)
|