From a20c9b2d8ebd02d0d44f83af39ac8fc868cdba1a Mon Sep 17 00:00:00 2001 From: Olivier Cessenat Date: Mon, 22 Aug 2022 15:50:41 +0200 Subject: [PATCH] keepassxc: option autotype with pcsclite (#32288) --- var/spack/repos/builtin/packages/keepassxc/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/keepassxc/package.py b/var/spack/repos/builtin/packages/keepassxc/package.py index dac8e5c3d4..a2150088c3 100644 --- a/var/spack/repos/builtin/packages/keepassxc/package.py +++ b/var/spack/repos/builtin/packages/keepassxc/package.py @@ -43,6 +43,7 @@ class Keepassxc(CMakePackage): depends_on("qt+dbus~framework@5.2:") depends_on("libgcrypt@1.6:", type="link") depends_on("zlib", type="link") + depends_on("minizip", when="+autotype") depends_on("libmicrohttpd", type="link") depends_on("libsodium@1.0.12:", type="link") depends_on("readline") @@ -57,6 +58,9 @@ class Keepassxc(CMakePackage): # These are required to build Auto-Type, Yubikey and browser integration support. depends_on("libxi", type="link", when="+autotype") depends_on("libxtst", type="link", when="+autotype") + depends_on("gengetopt", when="+autotype") + depends_on("libusb", when="+autotype") + depends_on("pcsclite", when="+autotype") depends_on("botan@2:", when="@2.7.0:") def cmake_args(self):