2009-10-30 13:28:44 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, zlib
|
|
|
|
, alsaLib
|
|
|
|
, curl
|
|
|
|
, nss
|
|
|
|
, nspr
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
|
|
|
, expat
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, libXrender
|
|
|
|
, libXt
|
|
|
|
, gtk
|
|
|
|
, glib
|
|
|
|
, pango
|
|
|
|
, atk
|
|
|
|
}:
|
2008-10-16 15:36:27 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-08-07 16:34:57 +02:00
|
|
|
name = "flashplayer-10.0.32.18";
|
2008-10-16 15:36:27 +02:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2009-07-02 16:42:34 +02:00
|
|
|
src =
|
|
|
|
if stdenv.system == "x86_64-linux" then
|
|
|
|
fetchurl {
|
2009-08-07 16:34:57 +02:00
|
|
|
url = http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz;
|
|
|
|
sha256 = "006k3jvahlq2v34q5mf2y7ghczhy6spsdd69fj120i9yz9zklhpw";
|
2009-07-02 16:42:34 +02:00
|
|
|
}
|
|
|
|
else
|
|
|
|
fetchurl {
|
|
|
|
url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz;
|
2009-12-30 08:17:42 +01:00
|
|
|
sha256 = "04ppx812dz4d93pkyx412z3jslkw8nsqw5gni467ipahqz6lifhi";
|
2009-07-02 16:42:34 +02:00
|
|
|
};
|
2008-10-16 15:36:27 +02:00
|
|
|
|
|
|
|
inherit zlib alsaLib;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
mozillaPlugin = "/lib/mozilla/plugins";
|
|
|
|
};
|
|
|
|
|
2009-10-30 13:28:44 +01:00
|
|
|
rpath = stdenv.lib.makeLibraryPath [zlib alsaLib curl nss nspr fontconfig freetype expat libX11 libXext libXrender libXt gtk glib pango atk] ;
|
2008-10-16 15:36:27 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Adobe Flash Player browser plugin";
|
|
|
|
homepage = http://www.adobe.com/products/flashplayer/;
|
|
|
|
};
|
|
|
|
}
|