gpgme: enable Qt 5 bindings

This commit is contained in:
Jos van den Oever
2017-06-18 08:44:44 -05:00
committed by Thomas Tuegel
parent 30ff56a20f
commit 05ef92e53a
2 changed files with 16 additions and 2 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan }:
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan, qt5 }:
stdenv.mkDerivation rec {
name = "gpgme-1.9.0";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "info" ];
outputBin = "dev"; # gpgme-config; not so sure about gpgme-tool
propagatedBuildInputs = [ libgpgerror glib libassuan pth ];
propagatedBuildInputs = [ libgpgerror glib libassuan pth qt5.qtbase ];
nativeBuildInputs = [ pkgconfig gnupg ];
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
"--enable-fixed-path=${gnupg}/bin"
];
patches = [ ./gpgme_libsuffix.patch ];
# https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
NIX_CFLAGS_COMPILE =
with stdenv; lib.optional (system == "i686-linux") "-D_FILE_OFFSET_BITS=64";