mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
* Added Adobe Flash Player 10.
svn path=/nixpkgs/trunk/; revision=13085
This commit is contained in:
parent
d0266c0818
commit
bbf7342a10
|
@ -0,0 +1,12 @@
|
|||
source $stdenv/setup
|
||||
|
||||
dontStrip=1
|
||||
dontPatchELF=1
|
||||
|
||||
installPhase() {
|
||||
ensureDir $out/lib/mozilla/plugins
|
||||
cp -p libflashplayer.so $out/lib/mozilla/plugins
|
||||
patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so
|
||||
}
|
||||
|
||||
genericBuild
|
|
@ -0,0 +1,27 @@
|
|||
{stdenv, fetchurl, zlib, alsaLib, curl}:
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "flashplayer-10.0.12.36";
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
|
||||
sha256 = "0bcn07a3684krqbh6cw08hb8lymm0wijnlcx5bvln44749kzg7wf";
|
||||
};
|
||||
|
||||
inherit zlib alsaLib;
|
||||
|
||||
passthru = {
|
||||
mozillaPlugin = "/lib/mozilla/plugins";
|
||||
};
|
||||
|
||||
rpath = "${zlib}/lib:${alsaLib}/lib:${curl}/lib";
|
||||
|
||||
meta = {
|
||||
description = "Adobe Flash Player browser plugin";
|
||||
homepage = http://www.adobe.com/products/flashplayer/;
|
||||
};
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
source $stdenv/setup
|
||||
|
||||
installPhase() {
|
||||
mkdir -p $out/lib/mozilla/plugins
|
||||
cp -p flashplayer.xpt libflashplayer.so $out/lib/mozilla/plugins
|
||||
echo "$zlib/lib:$libXmu/lib" > $out/lib/mozilla/plugins/extra-library-path
|
||||
}
|
||||
|
||||
genericBuild
|
|
@ -1,13 +0,0 @@
|
|||
{stdenv, fetchurl, zlib, libXmu}:
|
||||
|
||||
(stdenv.mkDerivation {
|
||||
name = "flashplayer-7.0r25";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/install_flash_player_7_linux.tar.gz;
|
||||
md5 = "79c59a5ea29347e01c8e6575dd054cd1";
|
||||
};
|
||||
|
||||
inherit zlib libXmu;
|
||||
}) // {mozillaPlugin = "/lib/mozilla/plugins";}
|
|
@ -6312,15 +6312,14 @@ let
|
|||
|
||||
flashplayer = flashplayer9;
|
||||
|
||||
flashplayer7 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-7 {
|
||||
inherit fetchurl stdenv zlib;
|
||||
inherit (xlibs) libXmu;
|
||||
};
|
||||
|
||||
flashplayer9 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
||||
inherit fetchurl stdenv zlib alsaLib;
|
||||
};
|
||||
|
||||
flashplayer10 = import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 {
|
||||
inherit fetchurl stdenv zlib alsaLib curl;
|
||||
};
|
||||
|
||||
flite = import ../applications/misc/flite {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue