* Browser plugin for MPlayer.
svn path=/nixpkgs/trunk/; revision=498
This commit is contained in:
parent
5ce30ac868
commit
e6db9b1caa
11
pkgs-ng/applications/video/mplayerplug-in/builder.sh
Executable file
11
pkgs-ng/applications/video/mplayerplug-in/builder.sh
Executable 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
|
17
pkgs-ng/applications/video/mplayerplug-in/default.fix
Normal file
17
pkgs-ng/applications/video/mplayerplug-in/default.fix
Normal 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;
|
||||
}
|
@ -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;
|
||||
|
@ -16,6 +16,7 @@
|
||||
pkgs.sylpheed
|
||||
pkgs.firebird
|
||||
pkgs.MPlayer
|
||||
pkgs.MPlayerPlugin
|
||||
pkgs.gqview
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user