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