summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2003-11-13 13:11:38 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2003-11-13 13:11:38 +0000
commite6db9b1caa9acc6ebd1a1e219ec084f2209ad68f (patch)
tree00dd16a3a6f8ba00222ccfe871c0b89f1a7386fe
parent5ce30ac868f05d04a8f7f68a84b6a6b0563ac9b6 (diff)
* Browser plugin for MPlayer.0.4
svn path=/nixpkgs/trunk/; revision=498
-rwxr-xr-xpkgs-ng/applications/video/mplayerplug-in/builder.sh11
-rw-r--r--pkgs-ng/applications/video/mplayerplug-in/default.fix17
-rw-r--r--pkgs-ng/system/all-packages-generic.fix6
-rw-r--r--pkgs-ng/system/user-environment.fix1
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
];