gtk-2.24.6 + some review
svn path=/nixpkgs/trunk/; revision=29384
This commit is contained in:
parent
83a44e5a65
commit
8d5fecc4f7
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, glib, atk, pango, libtiff, libjpeg
|
{ stdenv, fetchurl_gnome, pkgconfig, glib, atk, pango, cairo, perl, xlibs
|
||||||
, libpng, cairo, perl, jasper, xlibs, gdk_pixbuf
|
, gdk_pixbuf, xz
|
||||||
, xineramaSupport ? true
|
, xineramaSupport ? true
|
||||||
, cupsSupport ? true, cups ? null
|
, cupsSupport ? true, cups ? null
|
||||||
}:
|
}:
|
||||||
@ -8,11 +8,12 @@ assert xineramaSupport -> xlibs.libXinerama != null;
|
|||||||
assert cupsSupport -> cups != null;
|
assert cupsSupport -> cups != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gtk+-2.24.5";
|
name = src.pkgname;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl_gnome {
|
||||||
url = "mirror://gnome/sources/gtk+/2.24/${name}.tar.bz2";
|
project = "gtk+";
|
||||||
sha256 = "f355f26003b1b42b97e584bdc475189a423fdd052088ee4bbd7aa0f989815cc8";
|
major = "2"; minor = "24"; patchlevel = "6"; extension = "xz";
|
||||||
|
sha256 = "1jpgxycxgz1g5yd7spxyc2i8zvn8swm275dkd4d0ryn1bma6n0la";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
@ -23,11 +24,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
buildNativeInputs = [ perl ];
|
buildNativeInputs = [ perl pkgconfig xz ];
|
||||||
buildInputs = [ pkgconfig jasper ];
|
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
[ xlibs.xlibs glib atk pango gdk_pixbuf /* libtiff libjpeg libpng */ cairo
|
[ xlibs.xlibs glib atk pango gdk_pixbuf cairo
|
||||||
xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite xlibs.libXi
|
xlibs.libXrandr xlibs.libXrender xlibs.libXcomposite xlibs.libXi
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
|
++ stdenv.lib.optional xineramaSupport xlibs.libXinerama
|
||||||
|
Loading…
x
Reference in New Issue
Block a user