2015-02-08 22:02:17 +00:00
|
|
|
{stdenv, fetchurl
|
|
|
|
, drmSupport ? false # Digital Radio Mondiale
|
|
|
|
}:
|
2008-10-14 14:01:38 +00:00
|
|
|
|
2015-02-08 22:02:17 +00:00
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "faad2-${version}";
|
|
|
|
version = "2.7";
|
2008-10-14 14:01:38 +00:00
|
|
|
|
2009-03-10 22:45:27 +00:00
|
|
|
src = fetchurl {
|
2015-02-08 22:02:17 +00:00
|
|
|
url = "mirror://sourceforge/faac/${name}.tar.bz2";
|
2009-03-10 22:45:27 +00:00
|
|
|
sha256 = "1db37ydb6mxhshbayvirm5vz6j361bjim4nkpwjyhmy4ddfinmhl";
|
|
|
|
};
|
2008-10-14 14:01:38 +00:00
|
|
|
|
2015-02-08 22:02:17 +00:00
|
|
|
configureFlags = []
|
|
|
|
++ optional drmSupport "--with-drm";
|
|
|
|
|
2008-10-14 14:01:38 +00:00
|
|
|
meta = {
|
2009-03-10 22:45:27 +00:00
|
|
|
description = "An open source MPEG-4 and MPEG-2 AAC decoder";
|
2015-02-08 22:02:17 +00:00
|
|
|
homepage = http://www.audiocoding.com/faad2.html;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ codyopel ];
|
|
|
|
platforms = platforms.all;
|
2008-10-14 14:01:38 +00:00
|
|
|
};
|
|
|
|
}
|