3687bc9e39
support which was causing dramatic failures with at least version 2.10 of the xf86-video-intel driver"). svn path=/nixpkgs/trunk/; revision=20073
26 lines
637 B
Nix
26 lines
637 B
Nix
{stdenv, fetchurl, pkgconfig, libpthreadstubs}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libdrm-2.4.18";
|
|
|
|
src = fetchurl {
|
|
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
|
sha256 = "015nxrb2wvyqlxvwaqq40v46nj96sk71p2n4dh4h5djwzx7v9ign";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig libpthreadstubs ];
|
|
|
|
preConfigure = ''
|
|
# General case: non intel.
|
|
if test -n "$crossConfig"; then
|
|
configureFlags="$configureFlags --disable-intel";
|
|
fi
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://dri.freedesktop.org/libdrm/;
|
|
description = "Library for accessing the kernel's Direct Rendering Manager";
|
|
license = "bsd";
|
|
};
|
|
}
|