me
/
guix
Archived
1
0
Fork 0

gnu: Add qgpgme-qt6-1.23.

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

Change-Id: Iefdf4a5c8037724d60ecaf53567900a3106aec66
master
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
1 changed files with 26 additions and 0 deletions

View File

@ -508,6 +508,32 @@ QGpgME was originally developed as part of libkleo and incorporated into
gpgpme starting with version 1.7.") gpgpme starting with version 1.7.")
(license license:gpl2+))) ;; Note: this differs from gpgme (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 (define-public guile-gcrypt
(package (package
(name "guile-gcrypt") (name "guile-gcrypt")