Add `gst-ffmpeg'.
svn path=/nixpkgs/trunk/; revision=13244
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
24
pkgs/development/libraries/gstreamer/gst-ffmpeg/default.nix
Normal file
24
pkgs/development/libraries/gstreamer/gst-ffmpeg/default.nix
Normal 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+";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user