[packages/qemu] add vde bcond

atler atler at pld-linux.org
Sat Oct 4 16:08:19 CEST 2025


commit e3a2f38494c76ed83954a86ca1b2e3db85319ef0
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Oct 4 16:07:42 2025 +0200

    add vde bcond

 qemu.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index d7f9f83..a8b97a2 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -31,6 +31,7 @@
 %bcond_without	virgl		# build virgl support
 %bcond_without	xkbcommon	# xkbcommon support
 %bcond_without	qatzip	# QATzip support
+%bcond_without	vde	# vde network backend support
 
 %if %{without gtk3}
 %undefine	with_vte
@@ -177,7 +178,7 @@ BuildRequires:	texinfo
 %{?with_multipath:BuildRequires:	udev-devel}
 %{?with_usbredir:BuildRequires:	usbredir-devel >= 0.6}
 %{?with_lttng:BuildRequires:	userspace-rcu-devel}
-BuildRequires:	vde2-devel
+%{?with_vde:BuildRequires:	vde2-devel}
 %{?with_virgl:BuildRequires:	virglrenderer-devel}
 %{?with_vte:BuildRequires:	vte-devel >= 0.32.0}
 BuildRequires:	which
@@ -1088,7 +1089,7 @@ build dynamic \
 	%{__enable_disable snappy} \
 	--enable-tpm \
 	%{__enable_disable usbredir usb-redir} \
-	--enable-vde \
+	%{__enable_disable vde} \
 	%{?with_vfio_user:--enable-vfio-user-server} \
 	%{__enable_disable virgl virglrenderer} \
 	--enable-virtfs \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/e3a2f38494c76ed83954a86ca1b2e3db85319ef0



More information about the pld-cvs-commit mailing list