Merge pull request #133780 from SuperSandro2000/fdk-aac

This commit is contained in:
Sandro 2021-08-13 17:43:46 +02:00 committed by GitHub
commit 6fc5211edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,9 @@
{ lib, stdenv, fetchurl
{ lib
, stdenv
, fetchurl
, exampleSupport ? false # Example encoding program
}:
with lib;
stdenv.mkDerivation rec {
pname = "fdk-aac";
version = "2.0.2";
@ -12,14 +13,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-yehjDPnUM/POrXSQahUg0iI/ibzT+pJUhhAXRAuOsi8=";
};
configureFlags = [ ]
++ optional exampleSupport "--enable-example";
configureFlags = lib.optional exampleSupport "--enable-example";
meta = {
meta = with lib; {
description = "A high-quality implementation of the AAC codec from Android";
homepage = "https://sourceforge.net/projects/opencore-amr/";
license = licenses.asl20;
homepage = "https://sourceforge.net/projects/opencore-amr/";
license = licenses.asl20;
maintainers = with maintainers; [ codyopel ];
platforms = platforms.all;
platforms = platforms.all;
};
}