aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/qt-3
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2007-03-26 18:15:32 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2007-03-26 18:15:32 +0000
commit0389ffe877ef73ae8811c3d36afa7c5b51acfa94 (patch)
treeb37324588ed209f838304faee49fb02bbe7c523e /pkgs/development/libraries/qt-3
parentbd6a683c4c19c38d5fa865a0d24455d7b8577eae (diff)
* Build Qt with GIF, Xcursor, Xshape support.
svn path=/nixpkgs/trunk/; revision=8419
Diffstat (limited to 'pkgs/development/libraries/qt-3')
-rw-r--r--pkgs/development/libraries/qt-3/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/qt-3/default.nix b/pkgs/development/libraries/qt-3/default.nix
index 9b4c25075e10..e26c9072076d 100644
--- a/pkgs/development/libraries/qt-3/default.nix
+++ b/pkgs/development/libraries/qt-3/default.nix
@@ -3,15 +3,17 @@
, xrenderSupport ? true, libXrender ? null
, xrandrSupport ? true, libXrandr ? null, randrproto ? null
, xineramaSupport ? true, libXinerama ? null, xineramaproto ? null
+, cursorSupport ? true, libXcursor ? null
, threadSupport ? true
, mysqlSupport ? true, mysql ? null
, openglSupport ? false, mesa ? null, libXmu ? null
-, x11, zlib, libjpeg, libpng, which
+, x11, xextproto, zlib, libjpeg, libpng, which
}:
assert xftSupport -> libXft != null;
assert xrenderSupport -> xftSupport && libXrender != null;
assert xrandrSupport -> libXrandr != null && randrproto != null;
+assert cursorSupport -> libXcursor != null;
assert mysqlSupport -> mysql != null;
assert openglSupport -> mesa != null && libXmu != null;
@@ -30,6 +32,8 @@ stdenv.mkDerivation {
configureFlags = "
-v
-system-zlib -system-libpng -system-libjpeg
+ -qt-gif
+ -I${xextproto}/include
${if openglSupport then "-dlopen-opengl
-L${mesa}/lib -I${mesa}/include
-L${libXmu}/lib -I${libXmu}/include" else ""}
@@ -39,6 +43,7 @@ stdenv.mkDerivation {
-L${libXrandr}/lib -I${libXrandr}/include
-I${randrproto}/include" else "-no-xrandr"}
${if xineramaSupport then "-xinerama -L${libXinerama}/lib -I${xineramaproto}/include" else "-no-xinerama"}
+ ${if cursorSupport then "-L${libXcursor}/lib -I${libXcursor}/include" else ""}
${if mysqlSupport then "-qt-sql-mysql -L${mysql}/lib/mysql -I${mysql}/include/mysql" else ""}
${if xftSupport then "-xft
-L${libXft}/lib -I${libXft}/include