From f4516e6745bddc23b62986ab820410e40ba76de7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 13 Oct 2021 09:54:55 +1000 Subject: [PATCH] media-session: decouple config from the pipewire daemon config There are only two values we care about that are identical, we can re-set those in a new configuration_data() object. All the other values set by the pipewire daemon are related to how we start the session manager which isn't applicable here. --- src/daemon/media-session.d/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/daemon/media-session.d/meson.build b/src/daemon/media-session.d/meson.build index db4e41e4e..9acfaef7d 100644 --- a/src/daemon/media-session.d/meson.build +++ b/src/daemon/media-session.d/meson.build @@ -1,3 +1,7 @@ +conf_config = configuration_data() +conf_config.set('VERSION', '"@0@"'.format(pipewire_version)) +conf_config.set('PIPEWIRE_CONFIG_DIR', pipewire_configdir) + conf_files = [ [ 'bluez-monitor.conf', 'bluez-monitor.conf' ], [ 'v4l2-monitor.conf', 'v4l2-monitor.conf' ],