2005-10-29 22:35:56 +02:00
|
|
|
{ xineramaSupport ? false
|
|
|
|
, stdenv, fetchurl, pkgconfig, x11, glib, atk
|
|
|
|
, pango, perl, libtiff, libjpeg, libpng, cairo, libXinerama ? null
|
2005-10-12 13:57:24 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert x11.buildClientLibs;
|
2005-10-29 22:35:56 +02:00
|
|
|
assert xineramaSupport -> libXinerama != null;
|
|
|
|
|
2005-10-12 13:57:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-07-04 15:32:27 +02:00
|
|
|
name = "gtk+-2.8.20";
|
2005-10-12 13:57:24 +02:00
|
|
|
src = fetchurl {
|
2007-08-24 14:32:36 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-2.8.20.tar.bz2;
|
2006-07-04 15:32:27 +02:00
|
|
|
md5 = "74e7ca98194f1fadfe906e66d763d05d";
|
2005-10-12 13:57:24 +02:00
|
|
|
};
|
2005-10-29 22:35:56 +02:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig perl libtiff libjpeg libpng cairo
|
|
|
|
(if xineramaSupport then libXinerama else null)
|
|
|
|
];
|
2005-10-12 13:57:24 +02:00
|
|
|
propagatedBuildInputs = [x11 glib atk pango];
|
|
|
|
inherit libtiff libjpeg libpng;
|
|
|
|
}
|