2004-10-17 15:13:24 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, firefox, libXpm}:
|
2003-11-13 14:11:38 +01:00
|
|
|
|
2004-10-17 15:13:24 +02:00
|
|
|
# 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).
|
2003-11-13 14:11:38 +01:00
|
|
|
|
2005-02-16 12:24:40 +01:00
|
|
|
(stdenv.mkDerivation {
|
2005-03-11 15:27:34 +01:00
|
|
|
name = "mplayerplug-in-2.80";
|
2003-11-13 14:11:38 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2005-03-11 15:27:34 +01:00
|
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-2.80.tar.gz;
|
|
|
|
md5 = "ce3235ff7d46fae416cfb175193a5f25";
|
2003-11-13 14:11:38 +01:00
|
|
|
};
|
|
|
|
|
2004-10-17 15:13:24 +02:00
|
|
|
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm];
|
|
|
|
|
|
|
|
inherit firefox;
|
2005-02-16 12:24:40 +01:00
|
|
|
}) // {mozillaPlugin = "/lib/mozilla/plugins";}
|