[packages/qemu] - added canokey bcond

qboosh qboosh at pld-linux.org
Thu Apr 4 20:25:49 CEST 2024


commit 0f04d157dae138c68ec57b0d5af83c34c098fded
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Apr 4 20:08:08 2024 +0200

    - added canokey bcond

 qemu.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/qemu.spec b/qemu.spec
index 0f9fc72..4534b4e 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -1,11 +1,11 @@
 # TODO:
-# canokey (BR: canokey-qemu.pc, https://github.com/canokeys/canokey-qemu)
 # vfio_user_server?
 # plugins? (probes)
 #
 # Conditional build:
 %bcond_without	sdl		# SDL UI and audio support
 %bcond_without	opengl		# Don't require GL deps
+%bcond_with	canokey		# CanoKey support
 %bcond_without	ceph		# Ceph/RBD support
 %bcond_without	glusterfs	# GlusterFS backend
 %bcond_without	rdma		# RDMA-based migration support
@@ -82,6 +82,7 @@ URL:		https://www.qemu.org/
 BuildRequires:	alsa-lib-devel
 %{?with_brlapi:BuildRequires:	brlapi-devel}
 BuildRequires:	bzip2-devel
+%{?with_canokey:BuildRequires:	canokey-qemu-devel}
 BuildRequires:	capstone-devel >= 4.0
 %{?with_ceph:BuildRequires:	ceph-devel >= 12}
 BuildRequires:	curl-devel >= 7.29.0
@@ -1025,6 +1026,7 @@ build dynamic \
 	--audio-drv-list="alsa,jack%{?with_oss:,oss}%{?with_pulseaudio:,pa}%{?with_sdl:,sdl}" \
 	--enable-attr \
 	%{__enable_disable brlapi} \
+	%{__enable_disable canokey} \
 	--enable-cap-ng \
 	--enable-capstone \
 	--enable-curl \
@@ -1063,6 +1065,7 @@ build dynamic \
 %if %{with user_static}
 build static \
 	--disable-brlapi \
+	--disable-canokey \
 	--disable-cap-ng \
 	--disable-capstone \
 	--disable-curl \
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list