2007-10-12 21:38:39 +01:00
|
|
|
args: with args;
|
2008-05-10 10:09:56 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "qt-4.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-4.4.0.tar.bz2;
|
|
|
|
sha256 = "871dc71c6c905212f2fea7e6598362114a3b6097c220b0b251f8d159ee7d706e";
|
|
|
|
};
|
|
|
|
|
2007-10-12 21:38:39 +01:00
|
|
|
setupHook = ./setup-hook.sh;
|
2008-05-10 10:09:56 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
libXft
|
|
|
|
libXrender
|
|
|
|
libXrandr
|
|
|
|
randrproto
|
|
|
|
xextproto
|
|
|
|
libXinerama
|
|
|
|
xineramaproto
|
|
|
|
libXcursor
|
|
|
|
zlib
|
|
|
|
libjpeg
|
|
|
|
mysql
|
|
|
|
libpng
|
|
|
|
which
|
|
|
|
mesa
|
|
|
|
libXmu
|
|
|
|
openssl
|
|
|
|
dbus.libs
|
|
|
|
cups
|
|
|
|
pkgconfig
|
|
|
|
libXext
|
|
|
|
freetype
|
|
|
|
fontconfig
|
|
|
|
inputproto
|
|
|
|
fixesproto
|
|
|
|
libXfixes
|
|
|
|
glib
|
|
|
|
libtiff
|
|
|
|
];
|
2007-10-12 21:38:39 +01:00
|
|
|
prefixKey = "-prefix ";
|
2007-07-17 18:08:38 +01:00
|
|
|
configureFlags = "
|
2007-12-12 00:21:12 +00:00
|
|
|
-v -no-separate-debug-info -release
|
2007-10-12 21:38:39 +01:00
|
|
|
-system-zlib -system-libpng -system-libjpeg -fast
|
2007-07-17 18:08:38 +01:00
|
|
|
-qt-gif -confirm-license
|
2007-10-12 21:38:39 +01:00
|
|
|
-opengl -xrender -xrandr -xinerama -xcursor -qt-sql-mysql
|
2007-11-11 15:56:30 +00:00
|
|
|
-qdbus -cups -glib -xfixes
|
2007-10-12 21:38:39 +01:00
|
|
|
-fontconfig -I${freetype}/include/freetype2";
|
2008-05-10 10:09:56 +01:00
|
|
|
|
2007-10-12 21:38:39 +01:00
|
|
|
patchPhase = "sed -e 's@/bin/pwd@pwd@' -i configure; sed -e 's@/usr@/FOO@' -i config.tests/*/*.test -i mkspecs/*/*.conf";
|
2007-07-17 18:08:38 +01:00
|
|
|
}
|