1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

libopus: Allow to enable custom modes.

The reason I'm not making this the default is because it seems to add
complexity and degrades performance of the library. For details have a
look at this lengthy discussion at:

https://bugs.debian.org/686777

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-03-27 15:41:56 +01:00
parent cad411f61d
commit a87208de58
No known key found for this signature in database
GPG key ID: D0EBD0EC8C2DC961

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fixedPoint ? false }:
{ stdenv, fetchurl, fixedPoint ? false, withCustomModes ? false }:
let
version = "1.1";
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr";
};
configureFlags = stdenv.lib.optionalString fixedPoint "--enable-fixed-point";
configureFlags = stdenv.lib.optional fixedPoint "--enable-fixed-point"
++ stdenv.lib.optional withCustomModes "--enable-custom-modes";
doCheck = true;