added chromeWrapper, like firefoxWrapper, to allow plugins to work, added previously undefined dependencies on flash plugin
svn path=/nixpkgs/trunk/; revision=18050
This commit is contained in:
parent
d025709a8a
commit
a73cef1057
|
@ -14,6 +14,7 @@
|
||||||
, libX11
|
, libX11
|
||||||
, GConf
|
, GConf
|
||||||
, libXext
|
, libXext
|
||||||
|
, libXt
|
||||||
, atk
|
, atk
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, unzip
|
, unzip
|
||||||
|
@ -44,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
libPath =
|
libPath =
|
||||||
stdenv.lib.makeLibraryPath
|
stdenv.lib.makeLibraryPath
|
||||||
[ stdenv.glibc stdenv.gcc.gcc ffmpeg cairo pango glib libXrender gtk nspr nss fontconfig freetype alsaLib libX11 GConf libXext atk ] ;
|
[ stdenv.glibc stdenv.gcc.gcc ffmpeg cairo pango glib libXrender gtk nspr nss fontconfig freetype alsaLib libX11 GConf libXext atk libXt] ;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
ensureDir $out/bin
|
ensureDir $out/bin
|
||||||
|
@ -65,4 +66,7 @@ stdenv.mkDerivation rec {
|
||||||
ln -s ${nspr}/lib/libplc4.so $out/lib/libplc4.so.0d
|
ln -s ${nspr}/lib/libplc4.so $out/lib/libplc4.so.0d
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,22 @@
|
||||||
{stdenv, fetchurl, zlib, alsaLib, curl}:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, zlib
|
||||||
|
, alsaLib
|
||||||
|
, curl
|
||||||
|
, nss
|
||||||
|
, nspr
|
||||||
|
, fontconfig
|
||||||
|
, freetype
|
||||||
|
, expat
|
||||||
|
, libX11
|
||||||
|
, libXext
|
||||||
|
, libXrender
|
||||||
|
, libXt
|
||||||
|
, gtk
|
||||||
|
, glib
|
||||||
|
, pango
|
||||||
|
, atk
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "flashplayer-10.0.32.18";
|
name = "flashplayer-10.0.32.18";
|
||||||
|
@ -23,7 +41,7 @@ stdenv.mkDerivation {
|
||||||
mozillaPlugin = "/lib/mozilla/plugins";
|
mozillaPlugin = "/lib/mozilla/plugins";
|
||||||
};
|
};
|
||||||
|
|
||||||
rpath = "${zlib}/lib:${alsaLib}/lib:${curl}/lib";
|
rpath = stdenv.lib.makeLibraryPath [zlib alsaLib curl nss nspr fontconfig freetype expat libX11 libXext libXrender libXt gtk glib pango atk] ;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Adobe Flash Player browser plugin";
|
description = "Adobe Flash Player browser plugin";
|
||||||
|
|
|
@ -6,7 +6,7 @@ dontPatchELF=1
|
||||||
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
|
||||||
patchelf --set-rpath "$zlib/lib:$alsaLib/lib" $out/lib/mozilla/plugins/libflashplayer.so
|
patchelf --set-rpath $rpath $out/lib/mozilla/plugins/libflashplayer.so
|
||||||
}
|
}
|
||||||
|
|
||||||
genericBuild
|
genericBuild
|
||||||
|
|
|
@ -1,4 +1,21 @@
|
||||||
{stdenv, fetchurl, zlib, alsaLib}:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, zlib
|
||||||
|
, alsaLib
|
||||||
|
, nss
|
||||||
|
, nspr
|
||||||
|
, fontconfig
|
||||||
|
, freetype
|
||||||
|
, expat
|
||||||
|
, libX11
|
||||||
|
, libXext
|
||||||
|
, libXrender
|
||||||
|
, libXt
|
||||||
|
, gtk
|
||||||
|
, glib
|
||||||
|
, pango
|
||||||
|
, atk
|
||||||
|
}:
|
||||||
|
|
||||||
assert stdenv.system == "i686-linux";
|
assert stdenv.system == "i686-linux";
|
||||||
|
|
||||||
|
@ -17,6 +34,8 @@ stdenv.mkDerivation {
|
||||||
mozillaPlugin = "/lib/mozilla/plugins";
|
mozillaPlugin = "/lib/mozilla/plugins";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
rpath = stdenv.lib.makeLibraryPath [zlib alsaLib nss nspr fontconfig freetype expat libX11 libXext libXrender libXt gtk glib pango atk] ;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
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/;
|
||||||
|
|
|
@ -6574,11 +6574,14 @@ let
|
||||||
|
|
||||||
chrome = import ../applications/networking/browsers/chromium {
|
chrome = import ../applications/networking/browsers/chromium {
|
||||||
inherit stdenv fetchurl ffmpeg cairo nspr nss fontconfig freetype alsaLib makeWrapper unzip patchelf05;
|
inherit stdenv fetchurl ffmpeg cairo nspr nss fontconfig freetype alsaLib makeWrapper unzip patchelf05;
|
||||||
inherit (xlibs) libX11 libXext libXrender ;
|
inherit (xlibs) libX11 libXext libXrender libXt ;
|
||||||
inherit (gtkLibs) gtk glib pango atk;
|
inherit (gtkLibs) gtk glib pango atk;
|
||||||
inherit (gnome) GConf;
|
inherit (gnome) GConf;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
chromeWrapper = wrapFirefox chrome "chrome" "";
|
||||||
|
|
||||||
|
|
||||||
cinelerra = import ../applications/video/cinelerra {
|
cinelerra = import ../applications/video/cinelerra {
|
||||||
inherit fetchurl stdenv
|
inherit fetchurl stdenv
|
||||||
automake autoconf libtool
|
automake autoconf libtool
|
||||||
|
@ -7020,12 +7023,16 @@ let
|
||||||
|
|
||||||
flashplayer9 = (
|
flashplayer9 = (
|
||||||
import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
||||||
inherit fetchurl stdenv zlib alsaLib;
|
inherit fetchurl stdenv zlib alsaLib nss nspr fontconfig freetype expat;
|
||||||
|
inherit (xlibs) libX11 libXext libXrender libXt ;
|
||||||
|
inherit (gtkLibs) gtk glib pango atk;
|
||||||
});
|
});
|
||||||
|
|
||||||
flashplayer10 = (
|
flashplayer10 = (
|
||||||
import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 {
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 {
|
||||||
inherit fetchurl stdenv zlib alsaLib curl;
|
inherit fetchurl stdenv zlib alsaLib curl nss nspr fontconfig freetype expat;
|
||||||
|
inherit (xlibs) libX11 libXext libXrender libXt ;
|
||||||
|
inherit (gtkLibs) gtk glib pango atk;
|
||||||
});
|
});
|
||||||
|
|
||||||
flite = import ../applications/misc/flite {
|
flite = import ../applications/misc/flite {
|
||||||
|
|
Loading…
Reference in New Issue