8b01d4ef0a
* Plugins can specify extra directories to be added to LD_LIBRARY_PATH by the Firefox wrapper. The Flash plugin need this since it's installed from a binary distribution, and so doesn't set the RPATH properly. * Moved the MPlayer plugin to a plugins directory. svn path=/nixpkgs/trunk/; revision=1566
20 lines
526 B
Nix
20 lines
526 B
Nix
{stdenv, fetchurl, pkgconfig, firefox, libXpm}:
|
|
|
|
# Note: we shouldn't be dependent on Firefox. The only thing we need
|
|
# are the include files so that we can access the plugin API (I
|
|
# think).
|
|
|
|
stdenv.mkDerivation {
|
|
name = "mplayerplug-in-2.70";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-2.70.tar.gz;
|
|
md5 = "90784c7ccb40037b446053f0c1d1c2b4";
|
|
};
|
|
|
|
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm];
|
|
|
|
inherit firefox;
|
|
}
|