GStreamer 0.10.22.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14966
This commit is contained in:
Ludovic Courtès 2009-04-09 12:43:04 +00:00
parent 2eb05cf933
commit d5a1e37cac
4 changed files with 41 additions and 44 deletions

View File

@ -1,7 +1,9 @@
args: with args;
rec {
gstreamerFun = lib.sumArgs (selectVersion ./gstreamer "0.10.21") args;
gstreamer = gstreamerFun null;
gstreamer = import ./gstreamer {
inherit (args) fetchurl stdenv perl bison flex
pkgconfig python which gtkdoc glib libxml2;
};
gstPluginsBaseFun = lib.sumArgs (selectVersion ./gst-plugins-base "0.10.21")
args { inherit gstreamer; };

View File

@ -1,22 +0,0 @@
args: with args;
stdenv.mkDerivation rec {
name = "gstreamer-" + version;
src = fetchurl {
url = "${meta.homepage}/src/gstreamer/${name}.tar.bz2";
sha256 = "172nqf6l6mq4r1923bph53xd6h3svha3kkrvy5cald77jgf64a24";
};
buildInputs = [perl bison flex pkgconfig python];
propagatedBuildInputs = [glib libxml2];
configureFlags = "--enable-shared --disable-static --enable-failing-tests
--localstatedir=/var";
setupHook = ./setup-hook.sh;
meta = {
homepage = http://gstreamer.freedesktop.org;
};
}

View File

@ -1,20 +0,0 @@
args: with args;
stdenv.mkDerivation rec {
name = "gstreamer-" + version;
src = fetchurl {
url = "${meta.homepage}/src/gstreamer/${name}.tar.bz2";
sha256 = "1ly3b6ja51vwwkdqzi20hg5azdsrz5pnhswgagdwsprb8nh8bhcl";
};
buildInputs = [perl bison flex pkgconfig python which gtkdoc ];
propagatedBuildInputs = [glib libxml2];
configureFlags = "--enable-shared --disable-static --enable-failing-tests
--localstatedir=/var --disable-gtk-doc --disable-docbook";
meta = {
homepage = http://gstreamer.freedesktop.org;
};
}

View File

@ -0,0 +1,37 @@
{ fetchurl, stdenv, perl, bison, flex, pkgconfig, python
, which, gtkdoc, glib, libxml2 }:
stdenv.mkDerivation rec {
name = "gstreamer-0.10.22";
src = fetchurl {
url = "${meta.homepage}/src/gstreamer/${name}.tar.bz2";
sha256 = "17iqgsnh1v43ai9m9iyqv6dds7iwqw2445b0qxnjwdmij80rwj31";
};
buildInputs = [perl bison flex pkgconfig python which gtkdoc ];
propagatedBuildInputs = [glib libxml2];
configureFlags = "--enable-shared --disable-static --enable-failing-tests
--localstatedir=/var --disable-gtk-doc --disable-docbook";
meta = {
homepage = http://gstreamer.freedesktop.org;
description = "GStreamer, a library for constructing graphs of media-handling components";
longDescription = ''
GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple
Ogg/Vorbis playback, audio/video streaming to complex audio
(mixing) and video (non-linear editing) processing.
Applications can take advantage of advances in codec and filter
technology transparently. Developers can add new codecs and
filters by writing a simple plugin with a clean, generic
interface.
'';
license = "LGPLv2+";
};
}