2021-08-13 15:11:25 +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
|
|
|
|
2015-02-08 22:12:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fdk-aac";
|
2021-08-12 01:34:09 +00:00
|
|
|
version = "2.0.2";
|
2014-01-02 21:11:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/opencore-amr/fdk-aac/${pname}-${version}.tar.gz";
|
2021-08-12 01:34:09 +00:00
|
|
|
sha256 = "sha256-yehjDPnUM/POrXSQahUg0iI/ibzT+pJUhhAXRAuOsi8=";
|
2014-01-02 21:11:02 +00:00
|
|
|
};
|
|
|
|
|
2021-08-13 15:11:25 +00:00
|
|
|
configureFlags = lib.optional exampleSupport "--enable-example";
|
2015-02-08 22:12:58 +00:00
|
|
|
|
2021-08-13 15:11:25 +00:00
|
|
|
meta = with lib; {
|
2014-01-02 21:11:02 +00:00
|
|
|
description = "A high-quality implementation of the AAC codec from Android";
|
2021-08-13 15:11:25 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/opencore-amr/";
|
|
|
|
license = licenses.asl20;
|
2015-02-08 22:12:58 +00:00
|
|
|
maintainers = with maintainers; [ codyopel ];
|
2021-08-13 15:11:25 +00:00
|
|
|
platforms = platforms.all;
|
2014-01-02 21:11:02 +00:00
|
|
|
};
|
|
|
|
}
|