2013-01-29 11:56:12 +01:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, libtool, mesa, libva, libdrm, libX11, pkgconfig
|
|
|
|
, intelgen4asm }:
|
2013-01-29 00:31:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-02-19 12:35:52 +01:00
|
|
|
name = "libva-intel-driver-1.0.20";
|
2013-06-03 06:01:12 +02:00
|
|
|
|
2013-01-29 00:31:35 +01:00
|
|
|
src = fetchurl {
|
2013-01-29 11:56:12 +01:00
|
|
|
url = "http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/${name}.tar.bz2";
|
2014-02-19 12:35:52 +01:00
|
|
|
sha256 = "1jfl8909j3a3in6m8b5bx3dn7pzr8a1sw3sk4vzm7h3j2dkgpzhj";
|
2013-01-29 00:31:35 +01:00
|
|
|
};
|
|
|
|
|
2013-06-03 06:01:12 +02:00
|
|
|
buildInputs = [ pkgconfig libdrm libva libX11 ];
|
2013-01-29 00:31:35 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|