2004-04-02 16:36:14 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-06-29 13:41:25 +01:00
|
|
|
name = "libmad-0.15.1b";
|
2009-02-03 16:31:11 +00:00
|
|
|
|
2003-12-03 21:58:16 +00:00
|
|
|
src = fetchurl {
|
2008-02-11 21:02:38 +00:00
|
|
|
url = mirror://sourceforge/mad/libmad-0.15.1b.tar.gz;
|
|
|
|
sha256 = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690";
|
|
|
|
};
|
|
|
|
|
2009-02-03 16:31:11 +00:00
|
|
|
# The -fforce-mem flag has been removed in GCC 4.3.
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace configure --replace "-fforce-mem" ""
|
|
|
|
'';
|
2008-02-11 21:02:38 +00:00
|
|
|
|
|
|
|
meta = {
|
2009-02-03 16:31:11 +00:00
|
|
|
homepage = http://sourceforge.net/projects/mad/;
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "A high-quality, fixed-point MPEG audio decoder supporting MPEG-1 and MPEG-2";
|
2003-12-03 21:58:16 +00:00
|
|
|
};
|
|
|
|
}
|