[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 11/16] audio/dbus: Fix building with modules on macOS
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v5 11/16] audio/dbus: Fix building with modules on macOS |
Date: |
Mon, 14 Feb 2022 19:56:00 +0100 |
When configuring QEMU with --enable-modules we get on macOS:
--- stderr ---
Dependency ui-dbus cannot be satisfied
ui-dbus depends on pixman and opengl, so add these dependencies
to audio-dbus.
Fixes: 739362d420 ("audio: add "dbus" audio backend")
Reviewed-by: Li Zhang <lizhang@suse.de>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
audio/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/audio/meson.build b/audio/meson.build
index 0ac3791d0b..d9b295514f 100644
--- a/audio/meson.build
+++ b/audio/meson.build
@@ -28,7 +28,7 @@ endforeach
if dbus_display
module_ss = ss.source_set()
- module_ss.add(when: gio, if_true: files('dbusaudio.c'))
+ module_ss.add(when: [gio, pixman, opengl, 'CONFIG_GIO'], if_true:
files('dbusaudio.c'))
audio_modules += {'dbus': module_ss}
endif
--
2.34.1
- [PATCH v5 04/16] hvf: Use standard CR0 and CR4 register definitions, (continued)
- [PATCH v5 04/16] hvf: Use standard CR0 and CR4 register definitions, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 05/16] hvf: Fix OOB write in RDTSCP instruction decode, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 06/16] hvf: Enable RDTSCP support, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 07/16] hvf: Make hvf_get_segments() / hvf_put_segments() local, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 08/16] hvf: Remove deprecated hv_vcpu_flush() calls, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 09/16] block/file-posix: Remove a deprecation warning on macOS 12, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 10/16] audio/coreaudio: Remove a deprecation warning on macOS 12, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 11/16] audio/dbus: Fix building with modules on macOS,
Philippe Mathieu-Daudé <=
- [PATCH v5 12/16] ui/cocoa: Remove allowedFileTypes restriction in SavePanel, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 13/16] ui/cocoa: Add Services menu, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 14/16] ui/cocoa: Do not alert even without block devices, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 15/16] lcitool: refresh, Philippe Mathieu-Daudé, 2022/02/14
- [PATCH v5 16/16] gitlab-ci: Support macOS 12 via cirrus-run, Philippe Mathieu-Daudé, 2022/02/14
- Re: [PATCH v5 00/16] host: Support macOS 12, Peter Maydell, 2022/02/18