2005-01-19 23:51:27 +01:00
|
|
|
{ xftSupport ? true
|
|
|
|
, xrenderSupport ? true
|
2005-01-20 15:23:34 +01:00
|
|
|
, threadSupport ? true
|
2005-01-22 01:19:27 +01:00
|
|
|
, mysqlSupport ? true
|
|
|
|
, stdenv, fetchurl, x11, libXft ? null, libXrender ? null, mysql ? null
|
2005-01-20 10:00:08 +01:00
|
|
|
, zlib, libjpeg, libpng, which
|
2005-01-19 23:51:27 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
assert xftSupport -> libXft != null;
|
|
|
|
assert xrenderSupport -> xftSupport && libXft != null;
|
2005-01-22 01:19:27 +01:00
|
|
|
assert mysqlSupport -> mysql != null;
|
2005-01-19 23:51:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qt-3.3.3";
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
2005-02-15 18:44:45 +01:00
|
|
|
substitute = ../../../build-support/substitute/substitute.sh;
|
|
|
|
hook = ./setup-hook.sh;
|
2005-01-19 23:51:27 +01:00
|
|
|
src = fetchurl {
|
2005-02-15 15:44:19 +01:00
|
|
|
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/qt-x11-free-3.3.3.tar.bz2;
|
2005-01-19 23:51:27 +01:00
|
|
|
md5 = "3e0a0c8429b0a974b39b5f535ddff01c";
|
|
|
|
};
|
|
|
|
|
2005-01-20 10:00:08 +01:00
|
|
|
buildInputs = [x11 libXft libXrender zlib libjpeg libpng which];
|
2005-01-19 23:51:27 +01:00
|
|
|
|
2005-03-02 12:31:49 +01:00
|
|
|
# Don't strip everything so we can get useful backtraces.
|
|
|
|
patches = [./strip.patch];
|
|
|
|
|
2005-01-20 15:23:34 +01:00
|
|
|
inherit threadSupport xftSupport libXft xrenderSupport libXrender;
|
2005-01-22 01:19:27 +01:00
|
|
|
inherit mysqlSupport mysql;
|
2005-01-19 23:51:27 +01:00
|
|
|
inherit (libXft) freetype fontconfig;
|
|
|
|
}
|