3
0
Fork 0
forked from mirrors/nixpkgs

Make FlashPlayer9 build for now..

svn path=/nixpkgs/trunk/; revision=20641
This commit is contained in:
Michael Raskin 2010-03-16 06:44:02 +00:00
parent 2ce4840754
commit f05adf46bd
2 changed files with 10 additions and 5 deletions
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9

View file

@ -3,6 +3,8 @@ source $stdenv/setup
dontStrip=1 dontStrip=1
dontPatchELF=1 dontPatchELF=1
sourceRoot=.
installPhase() { installPhase() {
ensureDir $out/lib/mozilla/plugins ensureDir $out/lib/mozilla/plugins
cp -p libflashplayer.so $out/lib/mozilla/plugins cp -p libflashplayer.so $out/lib/mozilla/plugins

View file

@ -15,6 +15,8 @@
, glib , glib
, pango , pango
, atk , atk
, customSrc ? null
}: }:
assert stdenv.system == "i686-linux"; assert stdenv.system == "i686-linux";
@ -23,10 +25,12 @@ stdenv.mkDerivation {
name = "flashplayer-9.0.124.0"; name = "flashplayer-9.0.124.0";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = if customSrc == null then
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz; fetchurl {
sha256 = "16p98jf3y9041p8fk6cq7dqj7s4l4m7g9nhvc3dmhmld0075qagl"; url = http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz;
}; sha256 = "1cnsjgmy7rwj3spzb5mmpmvzxjp435jisl0dd8s4rf4xskyy6d6r";
}
else customSrc;
inherit zlib alsaLib; inherit zlib alsaLib;
@ -40,5 +44,4 @@ stdenv.mkDerivation {
description = "Adobe Flash Player browser plugin"; description = "Adobe Flash Player browser plugin";
homepage = http://www.adobe.com/products/flashplayer/; homepage = http://www.adobe.com/products/flashplayer/;
}; };
} }