3
0
Fork 0
forked from mirrors/nixpkgs

GStreamer: gst-plugins-base 0.10.22.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14969
This commit is contained in:
Ludovic Courtès 2009-04-09 13:05:10 +00:00
parent d5a1e37cac
commit 4aa703c8b2
3 changed files with 16 additions and 30 deletions

View file

@ -5,9 +5,12 @@ rec {
pkgconfig python which gtkdoc glib libxml2;
};
gstPluginsBaseFun = lib.sumArgs (selectVersion ./gst-plugins-base "0.10.21")
args { inherit gstreamer; };
gstPluginsBase = gstPluginsBaseFun null;
gstPluginsBase = import ./gst-plugins-base {
inherit gstreamer;
inherit (args) fetchurl stdenv pkgconfig python
libX11 libXv libXext alsaLib cdparanoia libogg libtheora
libvorbis freetype pango liboil gtk which gtkdoc;
};
gstPluginsGoodFun = lib.sumArgs (selectVersion ./gst-plugins-good "0.10.11")
args { inherit gstPluginsBase; };

View file

@ -1,24 +0,0 @@
args: with args;
stdenv.mkDerivation rec {
name = "gst-plugins-base-" + version;
src = fetchurl {
url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.bz2";
sha256 = "03gpfhdaw7yz83y0wpq966b9dqpvw8v5kpixa1pp4mn7d5bgsb7q";
};
patchPhase = "sed -i 's@/bin/echo@echo@g' configure";
configureFlags = "--enable-shared --disable-static";
# TODO : v4l, libvisual
propagatedBuildInputs = [gstreamer libX11 libXv libXext alsaLib cdparanoia
gnomevfs libogg libtheora libvorbis freetype pango liboil gtk];
buildInputs = [pkgconfig python];
meta = {
homepage = http://gstreamer.freedesktop.org;
};
}

View file

@ -1,11 +1,14 @@
args: with args;
{ 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-" + version;
name = "gst-plugins-base-0.10.22";
src = fetchurl {
url = "${meta.homepage}/src/gst-plugins-base/${name}.tar.bz2";
sha256 = "14vyshhxpdpfd06jyw1fgcfxb6nh0bg7n2aqd9h9kapkl12llgv7";
sha256 = "1yfmkji12gn8cl2nmgs8bbdadnc5hrywn0zwfsi3izpb0gnmlk0q";
};
patchPhase = "sed -i 's@/bin/echo@echo@g' configure";
@ -20,5 +23,9 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://gstreamer.freedesktop.org;
description = "Base plug-ins for GStreamer";
license = "LGPLv2+";
};
}