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-06-18 14:10:25 +02:00
|
|
|
name = "gtk+-2.8.19";
|
2005-10-12 13:57:24 +02:00
|
|
|
src = fetchurl {
|
2006-06-18 14:10:25 +02:00
|
|
|
url = ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-2.8.19.tar.bz2;
|
|
|
|
md5 = "1a03dbed4b794194a610e9d7eb175b06";
|
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;
|
|
|
|
}
|