2006-07-04 15:24:26 +02:00
|
|
|
{ xineramaSupport ? false
|
|
|
|
, stdenv, fetchurl, pkgconfig, x11, glib, atk
|
2006-07-04 18:32:35 +02:00
|
|
|
, pango, perl, libtiff, libjpeg, libpng, cairo, libXinerama ? null, libXrandr
|
2006-07-04 15:24:26 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert x11.buildClientLibs;
|
|
|
|
assert xineramaSupport -> libXinerama != null;
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-04-26 20:37:33 +02:00
|
|
|
name = "gtk+-2.10.11";
|
2006-07-04 15:24:26 +02:00
|
|
|
src = fetchurl {
|
2007-04-26 20:37:33 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.11.tar.bz2;
|
|
|
|
md5 = "3b32eab43bf5195d981867d25ba55d66";
|
2006-07-04 15:24:26 +02:00
|
|
|
};
|
|
|
|
buildInputs = [
|
2006-07-04 18:32:35 +02:00
|
|
|
pkgconfig perl libtiff libjpeg libpng cairo libXrandr
|
2006-07-04 15:24:26 +02:00
|
|
|
(if xineramaSupport then libXinerama else null)
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = [x11 glib atk pango];
|
|
|
|
inherit libtiff libjpeg libpng;
|
|
|
|
}
|