libva-utils: meson, add x11 and wayland deps

This commit is contained in:
Will Dietz 2019-02-01 14:50:21 -06:00
parent 61552cf599
commit 63d2dbfe89

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, libdrm, libva
{ stdenv, fetchFromGitHub, pkgconfig
, libdrm, libva, libX11, libXext, libXfixes, wayland, meson, ninja
}:
stdenv.mkDerivation rec {
@ -13,9 +13,15 @@ stdenv.mkDerivation rec {
sha256 = "1yk9bg1wg4nqva3l01s6bghcvc3hb02gp62p1sy5qk0r9mn5kpik";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ libdrm libva ];
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
mesonFlags = [
"-Ddrm=true"
"-Dx11=true"
"-Dwayland=true"
];
enableParallelBuilding = true;