nixpkgs/pkgs/development/libraries/libva/default.nix
Lluís Batlle i Rossell 111b203467 Updates related to VAAPI/VDPAU
Making ffmpeg link to libva.
Add the vdpau driver for vaapi.
2013-01-29 01:10:00 +01:00

25 lines
700 B
Nix

{ stdenv, fetchurl, autoconf, automake, libtool, libX11, pkgconfig, libXext, mesa
, libdrm, libXfixes, intelgen4asm, which }:
stdenv.mkDerivation rec {
name = "libva-1.1.0";
src = fetchurl {
url = "http://cgit.freedesktop.org/libva/snapshot/${name}.tar.bz2";
sha256 = "0lqkharln67p60jlyz9y662gjgqk2iy2nrj84j1jr1nzgw7j01a5";
};
buildInputs = [ autoconf automake libtool libX11 libXext pkgconfig mesa libdrm
libXfixes intelgen4asm which ];
configureFlags = [ "--enable-glx" ];
preConfigure = "sh autogen.sh";
meta = {
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
license = "MIT";
description = "VAAPI library: Video Acceleration API";
};
}