Subject: [bug#75245] [PATCH 3/3] gnu: Add pinentry-qt5.

From: Sughosha <[email-masked]>
Date: Wed, 1 Jan 2025 22:41:10 +0530

* gnu/packages/gnupg.scm (pinentry-qt5): New variable.

Change-Id: Ia70f00002305ab8e1bd6b0edb0ee6ee84007bf8c
---
 gnu/packages/gnupg.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 4f1914d99d..ad7b1e2e9e 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -944,6 +944,15 @@ (define-public pinentry-qt
    "Pinentry provides a console and a Qt GUI that allows users to enter a
 passphrase when @code{gpg} is run and needs it.")))
 
+(define-public pinentry-qt5
+  (package
+    (inherit pinentry-qt)
+    (name "pinentry-qt5")
+    (inputs
+     (modify-inputs (package-inputs pinentry-qt)
+       (replace "qtbase" qtbase-5)
+       (replace "qtwayland" qtwayland-5)))))
+
 (define-public pinentry-efl
   (package
     (inherit pinentry-tty)
-- 
2.47.1