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:
parent
cad411f61d
commit
a87208de58
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, fixedPoint ? false }:
|
{ stdenv, fetchurl, fixedPoint ? false, withCustomModes ? false }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.1";
|
version = "1.1";
|
||||||
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "158xprn2086arvdib3vbbygz7z6jqkw2nci7nlywzzwallap0wmr";
|
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;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user