From dd79a379d53781024c052841da6f2e01be40fb8d Mon Sep 17 00:00:00 2001 From: Mark Pryor Date: Fri, 12 Aug 2022 22:10:24 -0700 Subject: [PATCH] audio dbus fix building --- audio/meson.build | 2 +- meson.build | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/qemu-xen/audio/meson.build b/tools/qemu-xen/audio/meson.build index 94dab16891..3abee90860 100644 --- a/tools/qemu-xen/audio/meson.build +++ b/tools/qemu-xen/audio/meson.build @@ -28,7 +28,7 @@ endforeach if dbus_display module_ss = ss.source_set() - module_ss.add(when: [gio, pixman, opengl, 'CONFIG_GIO'], if_true: files('dbusaudio.c')) + module_ss.add(when: gio, if_true: files('dbusaudio.c')) audio_modules += {'dbus': module_ss} endif diff --git a/tools/qemu-xen/meson.build b/tools/qemu-xen/meson.build index 54b46209b5..f554c64f6b 100644 --- a/tools/qemu-xen/meson.build +++ b/tools/qemu-xen/meson.build @@ -1501,6 +1501,8 @@ dbus_display = get_option('dbus_display') \ error_message: '-display dbus requires --enable-modules') \ .require(gdbus_codegen.found(), error_message: '-display dbus requires gdbus-codegen') \ + .require(opengl.found(), + error_message: '-display dbus requires epoxy/egl') \ .allowed() have_virtfs = get_option('virtfs') \ -- 2.37.1