* Browser plugin for MPlayer.

svn path=/nixpkgs/trunk/; revision=498
This commit is contained in:
Eelco Dolstra 2003-11-13 13:11:38 +00:00
parent 5ce30ac868
commit e6db9b1caa
4 changed files with 35 additions and 0 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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;

View File

@ -16,6 +16,7 @@
pkgs.sylpheed
pkgs.firebird
pkgs.MPlayer
pkgs.MPlayerPlugin
pkgs.gqview
];