aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-07 22:07:27 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:22 +0800
commitce62f72078446d8e1c74a738b9bb784f83053d7f (patch)
treebcbe19942e49d7d2fd84016a840af2ce9c4002cd /gnu
parent458e99a2a69db780b3ea39d8a2fec7df19d19689 (diff)
downloadguix-ce62f72078446d8e1c74a738b9bb784f83053d7f.tar.gz
guix-ce62f72078446d8e1c74a738b9bb784f83053d7f.zip
gnu: Add qgpgme-qt6-1.23.
* gnu/packages/gnupg.scm (qgpgme-qt6-1.23): New variable. Change-Id: Iefdf4a5c8037724d60ecaf53567900a3106aec66
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnupg.scm26
1 files changed, 26 insertions, 0 deletions
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")