From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHznC-0007ef-On for guix-patches@gnu.org; Mon, 05 Jun 2017 17:44:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHzn9-0001u2-Jx for guix-patches@gnu.org; Mon, 05 Jun 2017 17:44:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55504) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHzn9-0001ts-GE for guix-patches@gnu.org; Mon, 05 Jun 2017 17:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHzn9-0006J8-7l for guix-patches@gnu.org; Mon, 05 Jun 2017 17:44:03 -0400 Subject: bug#27260: [PATCH] gnu: Add qgpgme. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHzmo-0007dG-Ev for guix-patches@gnu.org; Mon, 05 Jun 2017 17:43:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHzml-0001e2-AG for guix-patches@gnu.org; Mon, 05 Jun 2017 17:43:42 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:48343) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHzml-0001bH-36 for guix-patches@gnu.org; Mon, 05 Jun 2017 17:43:39 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3whSxL4gJZz1qql7 for ; Mon, 5 Jun 2017 23:43:34 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3whSxL3pk6z3jgY2 for ; Mon, 5 Jun 2017 23:43:34 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id fEactvleNgo5 for ; Mon, 5 Jun 2017 23:43:33 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-46-244-130-4.dynamic.mnet-online.de [46.244.130.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Mon, 5 Jun 2017 23:43:33 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 9784061757 for ; Mon, 5 Jun 2017 23:51:55 +0200 (CEST) From: Hartmut Goebel Date: Mon, 5 Jun 2017 23:43:33 +0200 Message-Id: <1496699013-25966-1-git-send-email-h.goebel@crazy-compilers.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27260@debbugs.gnu.org * gnu/packages/gnupg.scm (qgpgme): New variable. --- gnu/packages/gnupg.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index c2b0278..30d5744 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -407,6 +407,34 @@ instead. This way bug fixes or improvements can be done at a central place 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")))))) + (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") -- 2.7.4