Add mpg321, libao and libid3tag; upgrade libmad.

svn path=/nixpkgs/trunk/; revision=10626
This commit is contained in:
Ludovic Courtès
2008-02-11 21:02:38 +00:00
parent c54243a009
commit a30e268cb7
5 changed files with 74 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
{stdenv, fetchurl, pkgconfig}:
stdenv.mkDerivation {
name = "libao-0.8.8";
src = fetchurl {
url = http://downloads.xiph.org/releases/ao/libao-0.8.8.tar.gz;
sha256 = "e52e05af6b10f42d2ee9845df1a581bf2b352060eabf7946aee0a600c3878954";
};
buildInputs = [pkgconfig];
meta = {
description = ''Libao is Xiph.org's cross-platform audio
library that allows programs to output audio
using a simple API on a wide variety of platforms.'';
homepage = http://xiph.org/ao/;
license = "GPL";
};
}

View File

@@ -0,0 +1,17 @@
{stdenv, fetchurl, zlib}:
stdenv.mkDerivation {
name = "libid3tag-0.15.1b";
src = fetchurl {
url = mirror://sourceforge/mad/libid3tag-0.15.1b.tar.gz;
sha256 = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151";
};
buildInputs = [zlib];
meta = {
description = "An ID3 tag manipulation library.";
homepage = http://mad.sourceforge.net/;
license = "GPL";
};
}

View File

@@ -3,7 +3,14 @@
stdenv.mkDerivation {
name = "libmad-0.15.1b";
src = fetchurl {
url = ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz;
md5 = "1be543bc30c56fb6bea1d7bf6a64e66c";
url = mirror://sourceforge/mad/libmad-0.15.1b.tar.gz;
sha256 = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690";
};
buildInputs = [];
meta = {
description = "MAD, a high-quality, fixed-point, MPEG audio decoder
supporting MPEG-1 and MPEG-2.";
};
}