mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
libdrm: 2.4.71 -> 2.4.73
Also: - remove udev remains except explanation; - remove maintainers.urkud, as he's been inactive for years.
This commit is contained in:
parent
5af7b82336
commit
ea292da4c2
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, udev, valgrind }:
|
{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, valgrind }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libdrm-2.4.71";
|
name = "libdrm-2.4.73";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
|
||||||
sha256 = "c66287ddeee5f46ea8f8880b94b80acb3bbc33ba6321d17767eef145046df9b8";
|
sha256 = "0kayvwqqrjm45y6dk9q2b4gmjdasci0y28jzv4bq05py8a9d7gwn";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
@ -13,7 +13,6 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libpthreadstubs libpciaccess ];
|
buildInputs = [ libpthreadstubs libpciaccess ];
|
||||||
# libdrm as of 2.4.70 does not actually do anything with udev.
|
# libdrm as of 2.4.70 does not actually do anything with udev.
|
||||||
#++ stdenv.lib.optional stdenv.isLinux udev;
|
|
||||||
|
|
||||||
patches = stdenv.lib.optional stdenv.isDarwin ./libdrm-apple.patch;
|
patches = stdenv.lib.optional stdenv.isDarwin ./libdrm-apple.patch;
|
||||||
|
|
||||||
@ -21,7 +20,6 @@ stdenv.mkDerivation rec {
|
|||||||
"echo : \\\${ac_cv_func_clock_gettime=\'yes\'} > config.cache";
|
"echo : \\\${ac_cv_func_clock_gettime=\'yes\'} > config.cache";
|
||||||
|
|
||||||
configureFlags = [ "--enable-freedreno" "--disable-valgrind" ]
|
configureFlags = [ "--enable-freedreno" "--disable-valgrind" ]
|
||||||
++ stdenv.lib.optional stdenv.isLinux "--enable-udev"
|
|
||||||
++ stdenv.lib.optional stdenv.isDarwin "-C";
|
++ stdenv.lib.optional stdenv.isDarwin "-C";
|
||||||
|
|
||||||
crossAttrs.configureFlags = configureFlags ++ [ "--disable-intel" ];
|
crossAttrs.configureFlags = configureFlags ++ [ "--disable-intel" ];
|
||||||
@ -30,7 +28,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://dri.freedesktop.org/libdrm/;
|
homepage = http://dri.freedesktop.org/libdrm/;
|
||||||
description = "Library for accessing the kernel's Direct Rendering Manager";
|
description = "Library for accessing the kernel's Direct Rendering Manager";
|
||||||
license = "bsd";
|
license = "bsd";
|
||||||
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user