]>
Commit | Line | Data |
---|---|---|
c0637344 MK |
1 | diff -ur polkit-122.orig/data/meson.build polkit-122/data/meson.build |
2 | --- polkit-122.orig/data/meson.build 2022-10-26 14:12:24.000000000 +0200 | |
3 | +++ polkit-122/data/meson.build 2023-07-22 13:01:22.590545340 +0200 | |
4 | @@ -26,7 +26,7 @@ | |
5 | ) | |
6 | endif | |
7 | ||
8 | -if enable_logind | |
9 | +if session_tracking == 'libsystemd-login' | |
10 | configure_file( | |
11 | input: 'polkit.service.in', | |
12 | output: '@BASENAME@', | |
13 | diff -ur polkit-122.orig/meson.build polkit-122/meson.build | |
14 | --- polkit-122.orig/meson.build 2022-10-26 14:12:24.000000000 +0200 | |
15 | +++ polkit-122/meson.build 2023-07-22 13:00:31.328819850 +0200 | |
16 | @@ -204,7 +204,7 @@ | |
17 | ||
18 | # systemd unit / service files | |
19 | systemd_systemdsystemunitdir = get_option('systemdsystemunitdir') | |
20 | - if systemd_systemdsystemunitdir == '' | |
21 | + if systemd_systemdsystemunitdir == '' and session_tracking == 'libsystemd-login' | |
22 | systemd_dep = dependency('systemd', not_found_message: 'systemd required but not found, please provide a valid systemd user unit dir or disable it') | |
23 | # FIXME: systemd.pc file does not use variables with relative paths, so `define_variable` cannot be used | |
24 | systemd_systemdsystemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir') |