daemon: meson.build: use get_variable()

Use `get_variable()` on the dependency instead of `get_pkgconfig_variable()`
as that has been deprecated in meson 0.56.0.
This commit is contained in:
Barnabás Pőcze 2021-12-28 16:57:00 +01:00
parent a9225d3150
commit b666edde78
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
systemd_system_services_dir = systemd.get_pkgconfig_variable('systemdsystemunitdir', define_variable : [ 'prefix', prefix]) systemd_system_services_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir', pkgconfig_define : [ 'prefix', prefix])
install_data(sources : 'pipewire.socket', install_data(sources : 'pipewire.socket',
install_dir : systemd_system_services_dir) install_dir : systemd_system_services_dir)

View file

@ -1,4 +1,4 @@
systemd_user_services_dir = systemd.get_pkgconfig_variable('systemduserunitdir', define_variable : [ 'prefix', prefix]) systemd_user_services_dir = systemd.get_variable(pkgconfig: 'systemduserunitdir', pkgconfig_define : [ 'prefix', prefix])
if get_option('systemd-user-unit-dir') != '' if get_option('systemd-user-unit-dir') != ''
systemd_user_services_dir = get_option('systemd-user-unit-dir') systemd_user_services_dir = get_option('systemd-user-unit-dir')
endif endif