wvkbd: support cross compilation
This commit is contained in:
parent
754d28198c
commit
65b8c4518a
@ -22,8 +22,23 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-5m4aeuCqSJNgerQKyP9M6Qf7P4ijCtCY4Efew6E09Bc=";
|
sha256 = "sha256-5m4aeuCqSJNgerQKyP9M6Qf7P4ijCtCY4Efew6E09Bc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
postPatch = ''
|
||||||
buildInputs = [ wayland-scanner wayland pango glib harfbuzz cairo libxkbcommon ];
|
substituteInPlace Makefile \
|
||||||
|
--replace "pkg-config" "$PKG_CONFIG"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
wayland-scanner
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
cairo
|
||||||
|
glib
|
||||||
|
harfbuzz
|
||||||
|
libxkbcommon
|
||||||
|
pango
|
||||||
|
wayland
|
||||||
|
];
|
||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user