pipewire: remove old meson compatibility patches
[AGL/meta-agl.git] / meta-pipewire / recipes-multimedia / pipewire / pipewire / 0001-systemd-Do-not-override-rootprefix.patch
1 From 2501972518a67b1710998452d164cd077a4370f1 Mon Sep 17 00:00:00 2001
2 From: Scott Murray <scott.murray@konsulko.com>
3 Date: Thu, 17 Mar 2022 10:44:00 -0400
4 Subject: [PATCH] systemd: Do not override rootprefix
5
6 Do not override rootprefix with the value of prefix when querying
7 systemdsystemunitdir from the systemd pkgconfig, as doing so forces
8 the assumption that the system is running with usrmerge, which may
9 not be the case.  Instead, rely on the systemd.pc correctly
10 representing the desired install locations.
11
12 Reworked version of change in:
13
14 https://git.automotivelinux.org/AGL/meta-agl/tree/meta-pipewire/recipes-multimedia/pipewire/pipewire/0012-Miscellanous-changes-to-account-for-lower-version-of.patch
15
16 Upstream-Status: Pending
17
18 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
19 ---
20  src/daemon/systemd/system/meson.build | 2 +-
21  1 file changed, 1 insertion(+), 1 deletion(-)
22
23 diff --git a/src/daemon/systemd/system/meson.build b/src/daemon/systemd/system/meson.build
24 index 84ca0b068..6956f2be3 100644
25 --- a/src/daemon/systemd/system/meson.build
26 +++ b/src/daemon/systemd/system/meson.build
27 @@ -1,4 +1,4 @@
28 -systemd_system_services_dir = systemd.get_variable('systemdsystemunitdir', pkgconfig_define : [ 'rootprefix', prefix])
29 +systemd_system_services_dir = systemd.get_variable('systemdsystemunitdir')
30  if get_option('systemd-system-unit-dir') != ''
31    systemd_system_services_dir = get_option('systemd-system-unit-dir')
32  endif
33 -- 
34 2.35.1
35