Add `gst-ffmpeg'.

svn path=/nixpkgs/trunk/; revision=13244
This commit is contained in:
Ludovic Courtès
2008-11-11 12:08:28 +00:00
parent add91332e8
commit ec0aba1ee1
3 changed files with 29 additions and 1 deletions

View File

@@ -10,4 +10,8 @@ rec {
gstPluginsGoodFun = lib.sumArgs (selectVersion ./gst-plugins-good "0.10.6")
args { inherit gstPluginsBase; };
gstPluginsGood = gstPluginsGoodFun null;
gstFfmpeg = import ./gst-ffmpeg {
inherit fetchurl stdenv pkgconfig gstPluginsBase bzip2;
};
}

View File

@@ -0,0 +1,24 @@
{ fetchurl, stdenv, pkgconfig, gstPluginsBase, bzip2 }:
let version = "0.10.5"; in
stdenv.mkDerivation rec {
name = "gst-ffmpeg-${version}";
src = fetchurl {
url = "http://gstreamer.freedesktop.org/src/gst-ffmpeg/${name}.tar.bz2";
sha256 = "12y240jp2lda57frz7pj96izqxcns0k31cc5rp4kdfwwfdsvy5ik";
};
propagatedBuildInputs = [ gstPluginsBase ];
buildInputs = [ pkgconfig bzip2 ];
configureFlags = "--enable-shared --disable-static --enable-ladspa";
meta = {
homepage = "http://gstreamer.freedesktop.org/releases/gst-ffmpeg/${version}.html";
description = "GStreamer's plug-in using FFmpeg";
license = "GPLv2+";
};
}