gnu: Add qgpgme-qt6-1.23.

* gnu/packages/gnupg.scm (qgpgme-qt6-1.23): New variable.

Change-Id: Iefdf4a5c8037724d60ecaf53567900a3106aec66
This commit is contained in:
Zheng Junjie 2024-07-07 22:07:27 +08:00
parent 458e99a2a6
commit ce62f72078
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -508,6 +508,32 @@ (define-public qgpgme
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")