nixpkgs/pkgs/development/libraries/gstreamer/gst-plugins-base/default.nix
Lluís Batlle i Rossell 4b9c06ee6e Updating gstreamer, and setting some patch tricks so it builds with gnumake 3.82
svn path=/nixpkgs/branches/stdenv-updates/; revision=23579
2010-09-01 08:36:24 +00:00

36 lines
949 B
Nix

{ fetchurl, stdenv, pkgconfig, python, gstreamer
, libX11, libXv, libXext, alsaLib, cdparanoia , libogg
, libtheora, libvorbis, freetype, pango
, liboil, gtk, which, gtkdoc }:
stdenv.mkDerivation rec {
name = "gst-plugins-base-0.10.30";
src = fetchurl {
urls = [
"${meta.homepage}/src/gst-plugins-base/${name}.tar.bz2"
"mirror://gentoo/distfiles/${name}.tar.bz2"
];
sha256 = "1mw5n1w7l0hgyzf75srdxlh3knfgrmddbs2ah1f97s8b710qd4v3";
};
patchPhase = ''
sed -i 's@/bin/echo@echo@g' configure
sed -i -e 's/^ /\t/' docs/{libs,plugins}/Makefile.in
'';
# TODO : v4l, libvisual
propagatedBuildInputs = [gstreamer libX11 libXv libXext alsaLib cdparanoia
libogg libtheora libvorbis freetype pango liboil gtk which gtkdoc];
buildInputs = [pkgconfig python];
meta = {
homepage = http://gstreamer.freedesktop.org;
description = "Base plug-ins for GStreamer";
license = "LGPLv2+";
};
}