35443bddea
support are enabled (for anti-aliased fonts). BUG: Qt currently searches for plugins and documentation in the temporary build directory, instead of in its prefix. So, e.g., help in Qt Designer doesn't work. svn path=/nixpkgs/trunk/; revision=2066
24 lines
603 B
Nix
24 lines
603 B
Nix
{ xftSupport ? true
|
|
, xrenderSupport ? true
|
|
, stdenv, fetchurl, x11, libXft ? null, libXrender ? null
|
|
, zlib, libjpeg, libpng
|
|
}:
|
|
|
|
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";
|
|
};
|
|
|
|
buildInputs = [x11 libXft libXrender zlib libjpeg libpng];
|
|
|
|
inherit xftSupport libXft xrenderSupport libXrender;
|
|
inherit (libXft) freetype fontconfig;
|
|
}
|