mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: Add qgpgme.
* gnu/packages/gnupg.scm (qgpgme): New variable.
This commit is contained in:
parent
4604a98855
commit
6b982a7846
1 changed files with 29 additions and 0 deletions
|
@ -407,6 +407,35 @@ (define-public gpgme
|
|||
and every application benefits from this.")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public qgpgme
|
||||
(package
|
||||
(inherit gpgme)
|
||||
(name "qgpgme")
|
||||
(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")
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(inputs
|
||||
`(("gpgme" ,gpgme)
|
||||
("qtbase" ,qtbase)
|
||||
,@(package-inputs gpgme)))
|
||||
(synopsis "Qt API bindings for gpgme")
|
||||
(description "QGpgme provides a very high level Qt API around GpgMEpp.
|
||||
|
||||
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 python-gpg
|
||||
(package
|
||||
(name "python-gpg")
|
||||
|
|
Loading…
Reference in a new issue