mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
intel-gpu-tools: 1.19 -> 1.21
This commit is contained in:
parent
7f400f4fb3
commit
356296287d
1 changed files with 12 additions and 6 deletions
|
@ -1,22 +1,28 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libdrm, libpciaccess, cairo, dri2proto, udev
|
||||
, libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3, kmod
|
||||
, procps, autoreconfHook, utilmacros }:
|
||||
, procps, autoreconfHook, utilmacros, gnome2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "intel-gpu-tools-1.19";
|
||||
name = "intel-gpu-tools-1.21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://xorg.freedesktop.org/archive/individual/app/${name}.tar.bz2";
|
||||
sha256 = "1wdhwf3im6ids95qw5r9hjj9hvp0qhzgi4llrlriy723q3kqm754";
|
||||
url = "http://xorg.freedesktop.org/archive/individual/app/${name}.tar.xz";
|
||||
sha256 = "0gvh317dg5c7kvjxxkh8g70hh3r3dc73mc4dzyvfa8nb4ix6xbyr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook utilmacros ];
|
||||
nativeBuildInputs = [ pkgconfig utilmacros ];
|
||||
buildInputs = [ libdrm libpciaccess cairo dri2proto udev libX11 kmod
|
||||
libXext libXv libXrandr glib bison libunwind python3 procps ];
|
||||
libXext libXv libXrandr glib bison libunwind python3 procps
|
||||
gnome2.gtkdoc ];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs debugger/system_routine/pre_cpp.py
|
||||
substituteInPlace tools/Makefile.am --replace '$(CAIRO_CFLAGS)' '$(CAIRO_CFLAGS) $(GLIB_CFLAGS)'
|
||||
substituteInPlace tests/Makefile.am --replace '$(CAIRO_CFLAGS)' '$(CAIRO_CFLAGS) $(GLIB_CFLAGS)'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue