depot/third_party/nixpkgs/pkgs/development/libraries/libva-utils/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

35 lines
848 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig
, libdrm, libva, libX11, libXext, libXfixes, wayland, meson, ninja
}:
stdenv.mkDerivation rec {
pname = "libva-utils";
inherit (libva) version;
src = fetchFromGitHub {
owner = "01org";
repo = "libva-utils";
rev = version;
sha256 = "1yk9bg1wg4nqva3l01s6bghcvc3hb02gp62p1sy5qk0r9mn5kpik";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [ libdrm libva libX11 libXext libXfixes wayland ];
mesonFlags = [
"-Ddrm=true"
"-Dx11=true"
"-Dwayland=true"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "VAAPI tools: Video Acceleration API";
homepage = "http://www.freedesktop.org/wiki/Software/vaapi";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}