guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

290/465: gnu: Add qgpgme-qt6-1.23.


From: guix-commits
Subject: 290/465: gnu: Add qgpgme-qt6-1.23.
Date: Wed, 17 Jul 2024 23:01:48 -0400 (EDT)

z572 pushed a commit to branch kde-team
in repository guix.

commit ce62f72078446d8e1c74a738b9bb784f83053d7f
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Sun Jul 7 22:07:27 2024 +0800

    gnu: Add qgpgme-qt6-1.23.
    
    * gnu/packages/gnupg.scm (qgpgme-qt6-1.23): New variable.
    
    Change-Id: Iefdf4a5c8037724d60ecaf53567900a3106aec66
---
 gnu/packages/gnupg.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index d0af5335d6..14c25998d8 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -508,6 +508,32 @@ QGpgME was originally developed as part of libkleo and 
incorporated into
 gpgpme starting with version 1.7.")
     (license license:gpl2+))) ;; Note: this differs from gpgme
 
+(define-public qgpgme-qt6-1.23
+  (package
+    (inherit gpgme-1.23)
+    (name "qgpgme-qt6")
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'chdir-and-symlink
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((gpgme (assoc-ref inputs "gpgme")))
+               (symlink (string-append gpgme "/lib/libgpgmepp.la")
+                        "lang/cpp/src/libgpgmepp.la")
+               (symlink (string-append gpgme "/lib/libgpgme.la")
+                        "src/libgpgme.la"))
+             (chdir "lang/qt"))))))
+    (propagated-inputs (list gpgme-1.23))    ;required by QGpgmeConfig.cmake
+    (native-inputs
+     (modify-inputs (package-native-inputs gpgme-1.23)
+       (prepend pkg-config)))
+    (inputs
+     (modify-inputs (package-inputs gpgme-1.23)
+       (prepend qtbase)))
+    (synopsis "Qt API bindings for gpgme")
+    (description "QGpgme provides a very high level Qt API around GpgMEpp.")
+    (license license:gpl2+)))
+
 (define-public guile-gcrypt
   (package
     (name "guile-gcrypt")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]