2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2015-02-09 20:18:20 +00:00
|
|
|
, exampleSupport ? false # Example encoding program
|
2015-02-08 22:12:58 +00:00
|
|
|
}:
|
2014-01-02 21:11:02 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
with lib;
|
2015-02-08 22:12:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "fdk-aac";
|
2019-10-21 18:47:52 +01:00
|
|
|
version = "2.0.1";
|
2014-01-02 21:11:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
|
2019-10-21 18:47:52 +01:00
|
|
|
sha256 = "0wgjjc0dfkm2w966lc9c8ir8f671vl1ppch3mya3h58jjjm360c4";
|
2014-01-02 21:11:02 +00:00
|
|
|
};
|
|
|
|
|
2015-02-08 22:12:58 +00:00
|
|
|
configureFlags = [ ]
|
|
|
|
++ optional exampleSupport "--enable-example";
|
|
|
|
|
|
|
|
meta = {
|
2014-01-02 21:11:02 +00:00
|
|
|
description = "A high-quality implementation of the AAC codec from Android";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sourceforge.net/projects/opencore-amr/";
|
2015-02-08 22:12:58 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ codyopel ];
|
|
|
|
platforms = platforms.all;
|
2014-01-02 21:11:02 +00:00
|
|
|
};
|
|
|
|
}
|