pinentry: fix libassuan and libgpg-error detection in cross builds
This commit is contained in:
parent
bcbbbf97b3
commit
b3c17c9d85
@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0w35ypl960pczg5kp6km3dyr000m1hf0vpwwlh72jjkjza36c1v8";
|
sha256 = "0w35ypl960pczg5kp6km3dyr000m1hf0vpwwlh72jjkjza36c1v8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libgpgerror libassuan libcap libsecret gtk2 gcr ncurses qt ];
|
buildInputs = [ libgpgerror libassuan libcap libsecret gtk2 gcr ncurses qt ];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
@ -33,9 +34,10 @@ stdenv.mkDerivation rec {
|
|||||||
(stdenv.lib.enableFeature (gtk2 != null) "pinentry-gtk2")
|
(stdenv.lib.enableFeature (gtk2 != null) "pinentry-gtk2")
|
||||||
(stdenv.lib.enableFeature (gcr != null) "pinentry-gnome3")
|
(stdenv.lib.enableFeature (gcr != null) "pinentry-gnome3")
|
||||||
(stdenv.lib.enableFeature (qt != null) "pinentry-qt")
|
(stdenv.lib.enableFeature (qt != null) "pinentry-qt")
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
"--with-libassuan-prefix=${libassuan.dev}"
|
||||||
|
"--with-libgpg-error-prefix=${libgpgerror.dev}"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://gnupg.org/aegypten2/;
|
homepage = http://gnupg.org/aegypten2/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user