djvulibre: Qt3 frontend is optional

svn path=/nixpkgs/branches/stdenv-updates/; revision=10241
This commit is contained in:
Yury G. Kudryashov 2008-01-22 13:09:45 +00:00
parent b1d7eea5b1
commit cb26e5a5d4
2 changed files with 2 additions and 5 deletions

View file

@ -1,7 +1,4 @@
{stdenv, fetchurl,
qt, libX11, libjpeg, libtiff, libpng, ghostscript, zlib, libungif,
x11, mesa
}:
args: with args;
stdenv.mkDerivation {
name = "djvulibre-3.5.19";

View file

@ -3794,7 +3794,7 @@ rec {
djvulibre = import ../applications/misc/djvulibre {
inherit stdenv fetchurl libjpeg libtiff libungif zlib
ghostscript libpng x11 mesa;
qt = qt3;
qt = if (getConfig ["djvulibre" "qt3Frontend"] true) then qt3 else null;
inherit (xlibs) libX11;
};