forked from mirrors/nixpkgs
* Flash Player 9 Beta (enabled in the Firefox wrapper).
svn path=/nixpkgs/trunk/; revision=6925
This commit is contained in:
parent
641e72cf40
commit
2f0d625a7a
|
@ -0,0 +1,13 @@
|
|||
source $stdenv/setup
|
||||
|
||||
dontBuild=1
|
||||
dontMakeInstall=1
|
||||
|
||||
postInstall=postInstall
|
||||
postInstall() {
|
||||
mkdir -p $out/lib/mozilla/plugins
|
||||
cp -p libflashplayer.so $out/lib/mozilla/plugins
|
||||
echo "$zlib/lib" > $out/lib/mozilla/plugins/extra-library-path
|
||||
}
|
||||
|
||||
genericBuild
|
|
@ -0,0 +1,13 @@
|
|||
{stdenv, fetchurl, zlib}:
|
||||
|
||||
(stdenv.mkDerivation {
|
||||
name = "flashplayer-9.0.21.55-pre-beta-101806";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://download.macromedia.com/pub/labs/flashplayer9_update/FP9_plugin_beta_101806.tar.gz;
|
||||
md5 = "0b234c5d0eaf254ef8af364fb9ed97f2";
|
||||
};
|
||||
|
||||
inherit zlib;
|
||||
}) // {mozillaPlugin = "/lib/mozilla/plugins";}
|
|
@ -2377,6 +2377,11 @@ rec {
|
|||
inherit (xlibs) libXmu;
|
||||
};
|
||||
|
||||
flashplayer9beta = import ../applications/networking/browsers/mozilla-plugins/flashplayer-9-beta {
|
||||
inherit fetchurl stdenv zlib;
|
||||
# inherit (xlibs) libXmu;
|
||||
};
|
||||
|
||||
fspot = import ../applications/graphics/f-spot {
|
||||
inherit fetchurl stdenv perl perlXMLParser pkgconfig mono
|
||||
libexif libjpeg sqlite lcms libgphoto2 monoDLLFixer;
|
||||
|
@ -2639,7 +2644,7 @@ rec {
|
|||
inherit stdenv firefox;
|
||||
plugins = [
|
||||
MPlayerPlugin
|
||||
flashplayer
|
||||
flashplayer9beta
|
||||
]
|
||||
# RealPlayer is disabled by default for legal reasons.
|
||||
++ (if getConfig ["firefox" "enableRealPlayer"] false then [RealPlayer] else [])
|
||||
|
|
Loading…
Reference in a new issue