From b666edde787b167c6e19b9356257d48007357acc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Tue, 28 Dec 2021 16:57:00 +0100 Subject: [PATCH] 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. --- src/daemon/systemd/system/meson.build | 2 +- src/daemon/systemd/user/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/systemd/system/meson.build b/src/daemon/systemd/system/meson.build index 1b33a322f..4d942c1ab 100644 --- a/src/daemon/systemd/system/meson.build +++ b/src/daemon/systemd/system/meson.build @@ -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_dir : systemd_system_services_dir) diff --git a/src/daemon/systemd/user/meson.build b/src/daemon/systemd/user/meson.build index 5bd134537..a24f9b174 100644 --- a/src/daemon/systemd/user/meson.build +++ b/src/daemon/systemd/user/meson.build @@ -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') != '' systemd_user_services_dir = get_option('systemd-user-unit-dir') endif