2013-01-29 10:56:12 +00:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, libtool, mesa, libva, libdrm, libX11, pkgconfig
|
|
|
|
, intelgen4asm }:
|
2013-01-28 23:31:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-29 10:56:12 +00:00
|
|
|
name = "libva-intel-driver-1.0.19";
|
2013-01-28 23:31:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-29 10:56:12 +00:00
|
|
|
url = "http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/${name}.tar.bz2";
|
|
|
|
sha256 = "14m7krah3ajkwj190q431lqqa84hdljcdmrcrqkbgaffyjlqvdid";
|
2013-01-28 23:31:35 +00:00
|
|
|
};
|
|
|
|
|
2013-01-29 10:56:12 +00:00
|
|
|
buildInputs = [ autoconf automake libtool mesa libva pkgconfig libdrm libX11 intelgen4asm ];
|
2013-01-28 23:31:35 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|