2007-02-27 16:15:20 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, firefox, libXpm, gettext}:
|
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
|
|
|
|
2007-11-04 18:16:52 +01:00
|
|
|
stdenv.mkDerivation {
|
2007-12-30 23:19:07 +01:00
|
|
|
name = "mplayerplug-in-3.50";
|
2003-11-13 14:11:38 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2007-12-30 23:19:07 +01:00
|
|
|
url = mirror://sourceforge/mplayerplug-in/mplayerplug-in-3.50.tar.gz;
|
|
|
|
sha256 = "00jcbwl3wa6s4784c3wrz718f6jj1zkdfjbp7d2nhiafxrjqwsq4";
|
2003-11-13 14:11:38 +01:00
|
|
|
};
|
|
|
|
|
2007-02-27 16:15:20 +01:00
|
|
|
buildInputs = [pkgconfig firefox (firefox.gtk) libXpm gettext];
|
2004-10-17 15:13:24 +02:00
|
|
|
|
|
|
|
inherit firefox;
|
2007-11-04 18:16:52 +01:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
mozillaPlugin = "/lib/mozilla/plugins";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A browser plugin that uses mplayer to play digital media from websites";
|
|
|
|
homepage = http://mplayerplug-in.sourceforge.net/;
|
|
|
|
};
|
|
|
|
}
|