Make FlashPlayer9 build for now..
svn path=/nixpkgs/trunk/; revision=20641
This commit is contained in:
parent
2ce4840754
commit
f05adf46bd
|
@ -3,6 +3,8 @@ source $stdenv/setup
|
|||
dontStrip=1
|
||||
dontPatchELF=1
|
||||
|
||||
sourceRoot=.
|
||||
|
||||
installPhase() {
|
||||
ensureDir $out/lib/mozilla/plugins
|
||||
cp -p libflashplayer.so $out/lib/mozilla/plugins
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
, glib
|
||||
, pango
|
||||
, atk
|
||||
|
||||
, customSrc ? null
|
||||
}:
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
@ -23,10 +25,12 @@ stdenv.mkDerivation {
|
|||
name = "flashplayer-9.0.124.0";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz;
|
||||
sha256 = "16p98jf3y9041p8fk6cq7dqj7s4l4m7g9nhvc3dmhmld0075qagl";
|
||||
};
|
||||
src = if customSrc == null then
|
||||
fetchurl {
|
||||
url = http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz;
|
||||
sha256 = "1cnsjgmy7rwj3spzb5mmpmvzxjp435jisl0dd8s4rf4xskyy6d6r";
|
||||
}
|
||||
else customSrc;
|
||||
|
||||
inherit zlib alsaLib;
|
||||
|
||||
|
@ -40,5 +44,4 @@ stdenv.mkDerivation {
|
|||
description = "Adobe Flash Player browser plugin";
|
||||
homepage = http://www.adobe.com/products/flashplayer/;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue