Adding the djview firefox plugin option.

svn path=/nixpkgs/trunk/; revision=26265
This commit is contained in:
Lluís Batlle i Rossell 2011-03-10 21:39:09 +00:00
parent 8254ae7c3e
commit e7ed35ecd8
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,10 @@ stdenv.mkDerivation {
buildInputs = [djvulibre qt4];
passthru = {
mozillaPlugin = "/lib/netscape/plugins";
};
meta = {
homepage = http://djvu.sourceforge.net/djview4.html;
description = "A new portable DjVu viewer and browser plugin";

View File

@ -6847,6 +6847,7 @@ let
++ lib.optional enableAdobeFlash flashplayer
# RealPlayer is disabled by default for legal reasons.
++ lib.optional (system != "i686-linux" && getConfig [browserName "enableRealPlayer"] false) RealPlayer
++ lib.optional (getConfig [browserName "enableDjvu"] false) (djview4)
++ lib.optional (getConfig [browserName "enableMPlayer"] false) (MPlayerPlugin browser)
++ lib.optional (getConfig [browserName "enableGeckoMediaPlayer"] false) gecko_mediaplayer
++ lib.optional (supportsJDK && getConfig [browserName "jre"] false && jrePlugin ? mozillaPlugin) jrePlugin