mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
253ee6f6a3
This changeset updates to all of the versions in https://01.org/linuxgraphics/downloads/2013/2013q1-intel-graphics-stack-release (but does not regression from newer version). I tried generating 'servers/x11/xorg/default.nix' with the perl script, but unrelated packges changed, so I just manually updated the file.
25 lines
750 B
Nix
25 lines
750 B
Nix
{ stdenv, fetchurl, autoconf, automake, libtool, mesa, libva, libdrm, libX11, pkgconfig
|
|
, intelgen4asm }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libva-intel-driver-1.0.20";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/${name}.tar.bz2";
|
|
sha256 = "1jfl8909j3a3in6m8b5bx3dn7pzr8a1sw3sk4vzm7h3j2dkgpzhj";
|
|
};
|
|
|
|
buildInputs = [ autoconf automake libtool mesa libva pkgconfig libdrm libX11 intelgen4asm ];
|
|
|
|
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";
|
|
};
|
|
}
|