djvulibre: Qt3 frontend is optional
svn path=/nixpkgs/branches/stdenv-updates/; revision=10241
This commit is contained in:
parent
b1d7eea5b1
commit
cb26e5a5d4
|
@ -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";
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue