2005-01-19 22:51:27 +00:00
|
|
|
{ xftSupport ? true
|
|
|
|
, xrenderSupport ? true
|
2005-01-20 14:23:34 +00:00
|
|
|
, threadSupport ? true
|
2005-01-19 22:51:27 +00:00
|
|
|
, stdenv, fetchurl, x11, libXft ? null, libXrender ? null
|
2005-01-20 09:00:08 +00:00
|
|
|
, zlib, libjpeg, libpng, which
|
2005-01-19 22:51:27 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert xftSupport -> libXft != null;
|
|
|
|
assert xrenderSupport -> xftSupport && libXft != null;
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qt-3.3.3";
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://sunsite.rediris.es/mirror/Qt/source/qt-x11-free-3.3.3.tar.bz2;
|
|
|
|
md5 = "3e0a0c8429b0a974b39b5f535ddff01c";
|
|
|
|
};
|
|
|
|
|
2005-01-20 09:00:08 +00:00
|
|
|
buildInputs = [x11 libXft libXrender zlib libjpeg libpng which];
|
2005-01-19 22:51:27 +00:00
|
|
|
|
2005-01-20 14:23:34 +00:00
|
|
|
inherit threadSupport xftSupport libXft xrenderSupport libXrender;
|
2005-01-19 22:51:27 +00:00
|
|
|
inherit (libXft) freetype fontconfig;
|
|
|
|
}
|