Adding the vaapi Intel driver.

I also renamed the vdpau driver to 'vaapiDriver' in all-packages. I think
it's a better name.
This commit is contained in:
Lluís Batlle i Rossell 2013-01-29 00:31:35 +01:00
parent 111b203467
commit c73655fa92
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, autoconf, automake, libtool, mesa, libva, libdrm, libX11, pkgconfig }:
stdenv.mkDerivation rec {
name = "intel-driver-1.0.19";
src = fetchurl {
url = "http://cgit.freedesktop.org/intel-driver/snapshot/${name}.tar.bz2";
sha256 = "1ns6y1hdqvqd92mc0d6axyh17rgyzp73xnbf97mnnzi9fc47x6p1";
};
buildInputs = [ autoconf automake libtool mesa libva pkgconfig libdrm libX11 ];
preConfigure = ''
sh autogen.sh
sed -i -e "s,LIBVA_DRIVERS_PATH=.*,LIBVA_DRIVERS_PATH=$out/lib/dri," configure
'';
meta = {
homepage = http://cgit.freedesktop.org/vaapi/intel-driver/;
license = "MIT";
description = "Intel driver for the VAAPI library";
};
}

View File

@ -5057,7 +5057,9 @@ let
ucommon = callPackage ../development/libraries/ucommon { };
vdpauDriver = callPackage ../development/libraries/vaapi-vdpau { };
vaapiIntel = callPackage ../development/libraries/vaapi-intel { };
vaapiVdpau = callPackage ../development/libraries/vaapi-vdpau { };
vamp = callPackage ../development/libraries/audio/vamp { };