diff options
-rwxr-xr-x | pkgs-ng/applications/video/mplayerplug-in/builder.sh | 11 | ||||
-rw-r--r-- | pkgs-ng/applications/video/mplayerplug-in/default.fix | 17 | ||||
-rw-r--r-- | pkgs-ng/system/all-packages-generic.fix | 6 | ||||
-rw-r--r-- | pkgs-ng/system/user-environment.fix | 1 |
4 files changed, 35 insertions, 0 deletions
diff --git a/pkgs-ng/applications/video/mplayerplug-in/builder.sh b/pkgs-ng/applications/video/mplayerplug-in/builder.sh new file mode 100755 index 000000000000..300a445ea0a9 --- /dev/null +++ b/pkgs-ng/applications/video/mplayerplug-in/builder.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +buildinputs="$x11" +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd mplayer* || exit 1 +./configure || exit 1 +make || exit 1 +mkdir -p $out/lib/mozilla/plugins || exit 1 +cp mplayerplug-in.so $out/lib/mozilla/plugins || exit 1 diff --git a/pkgs-ng/applications/video/mplayerplug-in/default.fix b/pkgs-ng/applications/video/mplayerplug-in/default.fix new file mode 100644 index 000000000000..c06fc31fee42 --- /dev/null +++ b/pkgs-ng/applications/video/mplayerplug-in/default.fix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, x11}: + +assert !isNull x11; + +derivation { + name = "mplayerplug-in-1.0pre2"; + system = stdenv.system; + + builder = ./builder.sh; + src = fetchurl { + url = http://heanet.dl.sourceforge.net/sourceforge/mplayerplug-in/mplayerplug-in-1.0pre2.tar.gz; + md5 = "1a6eb243989c143984bb1aac63b5282e"; + }; + + stdenv = stdenv; + x11 = x11; +} diff --git a/pkgs-ng/system/all-packages-generic.fix b/pkgs-ng/system/all-packages-generic.fix index 9ac251446180..d469af8c6784 100644 --- a/pkgs-ng/system/all-packages-generic.fix +++ b/pkgs-ng/system/all-packages-generic.fix @@ -384,6 +384,12 @@ alsa = alsaLib; }; + MPlayerPlugin = (import ../applications/video/mplayerplug-in) { + fetchurl = fetchurl; + stdenv = stdenv; + x11 = xfree86; + }; + gqview = (import ../applications/graphics/gqview) { fetchurl = fetchurl; stdenv = stdenv; diff --git a/pkgs-ng/system/user-environment.fix b/pkgs-ng/system/user-environment.fix index c868f3d62c12..98268c4d76dd 100644 --- a/pkgs-ng/system/user-environment.fix +++ b/pkgs-ng/system/user-environment.fix @@ -16,6 +16,7 @@ pkgs.sylpheed pkgs.firebird pkgs.MPlayer + pkgs.MPlayerPlugin pkgs.gqview ]; |