1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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+";
};
}

View file

@ -2940,7 +2940,7 @@ let
inherit lib selectVersion stdenv fetchurl perl bison flex pkgconfig libxml2
python alsaLib cdparanoia libogg libvorbis libtheora freetype liboil
libjpeg zlib speex libpng libdv aalib cairo libcaca flac hal libiec61883
dbus libavc1394 ladspaH taglib;
dbus libavc1394 ladspaH taglib bzip2;
inherit (xorg) libX11 libXv libXext;
inherit (gtkLibs) glib pango gtk;
inherit (gnome) gnomevfs;