2018-09-24 16:41:10 +02:00
|
|
|
i18n.merge_file('com.endlessm.ParentalControls.policy',
|
|
|
|
input: 'com.endlessm.ParentalControls.policy.in',
|
|
|
|
output: 'com.endlessm.ParentalControls.policy',
|
|
|
|
po_dir: po_dir,
|
|
|
|
install: true,
|
|
|
|
install_dir: polkitpolicydir,
|
|
|
|
)
|
2018-09-24 16:36:41 +02:00
|
|
|
|
2019-12-06 17:41:08 +01:00
|
|
|
dbus_interfaces = [
|
2020-02-14 19:00:24 +01:00
|
|
|
'com.endlessm.ParentalControls.AccountInfo',
|
2019-12-06 17:41:08 +01:00
|
|
|
'com.endlessm.ParentalControls.AppFilter',
|
|
|
|
'com.endlessm.ParentalControls.SessionLimits',
|
|
|
|
]
|
|
|
|
|
|
|
|
foreach dbus_interface: dbus_interfaces
|
|
|
|
filename = dbus_interface + '.xml'
|
|
|
|
install_data(filename,
|
|
|
|
install_dir: dbusinterfacesdir)
|
|
|
|
meson.add_install_script(meson_make_symlink,
|
|
|
|
join_paths(dbusinterfacesdir, filename),
|
|
|
|
join_paths(accountsserviceinterfacesdir, filename))
|
|
|
|
endforeach
|
2019-01-07 14:53:49 +01:00
|
|
|
|
2020-06-17 22:34:55 +02:00
|
|
|
polkit_conf = configuration_data()
|
|
|
|
polkit_conf.set('PRIVILEGED_GROUP', get_option('privileged_group'))
|
|
|
|
configure_file(
|
|
|
|
input: 'com.endlessm.ParentalControls.rules.in',
|
|
|
|
output: 'com.endlessm.ParentalControls.rules',
|
|
|
|
configuration: polkit_conf,
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'polkit-1', 'rules.d')
|
|
|
|
)
|