2005-10-29 20:35:56 +00:00
|
|
|
{ xineramaSupport ? false
|
|
|
|
, stdenv, fetchurl, pkgconfig, x11, glib, atk
|
|
|
|
, pango, perl, libtiff, libjpeg, libpng, cairo, libXinerama ? null
|
2005-10-12 11:57:24 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert x11.buildClientLibs;
|
2005-10-29 20:35:56 +00:00
|
|
|
assert xineramaSupport -> libXinerama != null;
|
|
|
|
|
2005-10-12 11:57:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-07-04 13:32:27 +00:00
|
|
|
name = "gtk+-2.8.20";
|
2005-10-12 11:57:24 +00:00
|
|
|
src = fetchurl {
|
2006-10-12 14:53:45 +00:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/gtk+-2.8.20.tar.bz2;
|
2006-07-04 13:32:27 +00:00
|
|
|
md5 = "74e7ca98194f1fadfe906e66d763d05d";
|
2005-10-12 11:57:24 +00:00
|
|
|
};
|
2005-10-29 20:35:56 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl libtiff libjpeg libpng cairo
|
|
|
|
(if xineramaSupport then libXinerama else null)
|
|
|
|
];
|
2005-10-12 11:57:24 +00:00
|
|
|
propagatedBuildInputs = [x11 glib atk pango];
|
|
|
|
inherit libtiff libjpeg libpng;
|
|
|
|
}
|