djvulibre: Qt3 frontend is optional

svn path=/nixpkgs/trunk/; revision=10354
This commit is contained in:
Yury G. Kudryashov 2008-01-28 19:48:08 +00:00
parent 3386eea6c0
commit 5dcb97fcc1
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

@ -4137,7 +4137,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;
};