Adding the djview firefox plugin option.
svn path=/nixpkgs/trunk/; revision=26265
This commit is contained in:
parent
8254ae7c3e
commit
e7ed35ecd8
@ -9,6 +9,10 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [djvulibre qt4];
|
buildInputs = [djvulibre qt4];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
mozillaPlugin = "/lib/netscape/plugins";
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://djvu.sourceforge.net/djview4.html;
|
homepage = http://djvu.sourceforge.net/djview4.html;
|
||||||
description = "A new portable DjVu viewer and browser plugin";
|
description = "A new portable DjVu viewer and browser plugin";
|
||||||
|
@ -6847,6 +6847,7 @@ let
|
|||||||
++ lib.optional enableAdobeFlash flashplayer
|
++ lib.optional enableAdobeFlash flashplayer
|
||||||
# RealPlayer is disabled by default for legal reasons.
|
# RealPlayer is disabled by default for legal reasons.
|
||||||
++ lib.optional (system != "i686-linux" && getConfig [browserName "enableRealPlayer"] false) RealPlayer
|
++ 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 "enableMPlayer"] false) (MPlayerPlugin browser)
|
||||||
++ lib.optional (getConfig [browserName "enableGeckoMediaPlayer"] false) gecko_mediaplayer
|
++ lib.optional (getConfig [browserName "enableGeckoMediaPlayer"] false) gecko_mediaplayer
|
||||||
++ lib.optional (supportsJDK && getConfig [browserName "jre"] false && jrePlugin ? mozillaPlugin) jrePlugin
|
++ lib.optional (supportsJDK && getConfig [browserName "jre"] false && jrePlugin ? mozillaPlugin) jrePlugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user