commit:     ad1a8470af78c6bbce0592ffbdfa765dfb22e43e
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Wed Dec 24 16:52:43 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 26 14:58:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1a8470

app-emulation/qemu: enable gio if not user

glib is required anyway. passt and spice that require gio need a
dedicated option to be enabled thus avoid automagic.

Bug: https://bugs.gentoo.org/964165
Closes: https://bugs.gentoo.org/967920
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/45149
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emulation/qemu/{qemu-10.1.3.ebuild => qemu-10.1.3-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-emulation/qemu/qemu-10.1.3.ebuild 
b/app-emulation/qemu/qemu-10.1.3-r1.ebuild
similarity index 99%
rename from app-emulation/qemu/qemu-10.1.3.ebuild
rename to app-emulation/qemu/qemu-10.1.3-r1.ebuild
index b2769d44c59d..864338802d99 100644
--- a/app-emulation/qemu/qemu-10.1.3.ebuild
+++ b/app-emulation/qemu/qemu-10.1.3-r1.ebuild
@@ -637,7 +637,6 @@ qemu_src_configure() {
                $(conf_notuser opengl)
                $(conf_notuser pam auth-pam)
                $(conf_notuser passt)
-               $(conf_notuser passt gio)
                $(conf_notuser png)
                $(conf_notuser rbd)
                $(conf_notuser sasl vnc-sasl)
@@ -667,6 +666,10 @@ qemu_src_configure() {
        )
 
        if [[ ! ${buildtype} == "user" ]] ; then
+               # used by passt and spice, enable it because glib is required 
anyway
+               conf_opts+=(
+                       --enable-gio
+               )
                # audio options
                local audio_opts=(
                        # Note: backend order matters here: #716202

Reply via email to