gnome-control-center/panels/system/remote-desktop/meson.build
Ray Strode cf39376cca system, remote-desktop: Add new polkit policy
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.
2024-03-02 10:54:18 -05:00

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')
)