3389f4bc36
svn path=/nixpkgs/trunk/; revision=4623
23 lines
606 B
Nix
23 lines
606 B
Nix
{ xineramaSupport ? false
|
|
, stdenv, fetchurl, pkgconfig, x11, glib, atk
|
|
, pango, perl, libtiff, libjpeg, libpng, cairo, libXinerama ? null
|
|
}:
|
|
|
|
assert x11.buildClientLibs;
|
|
assert xineramaSupport -> libXinerama != null;
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gtk+-2.8.9";
|
|
src = fetchurl {
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gtk+-2.8.9.tar.bz2;
|
|
md5 = "e7a94132ae6353106c80cd4a1106a368";
|
|
};
|
|
buildInputs = [
|
|
pkgconfig perl libtiff libjpeg libpng cairo
|
|
(if xineramaSupport then libXinerama else null)
|
|
];
|
|
propagatedBuildInputs = [x11 glib atk pango];
|
|
inherit libtiff libjpeg libpng;
|
|
}
|