diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-03-27 15:41:56 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-04-19 03:58:45 +0200 |
commit | a87208de5896e01e51933f2eede44bfc3b02a3c3 (patch) | |
tree | b8b4a848e4226569b25f4c5bd2a574969c5967c4 /pkgs/development/libraries/libopus | |
parent | cad411f61d6b5179776b2c359d19464a21c19ea4 (diff) | |
download | nixlib-a87208de5896e01e51933f2eede44bfc3b02a3c3.tar nixlib-a87208de5896e01e51933f2eede44bfc3b02a3c3.tar.gz nixlib-a87208de5896e01e51933f2eede44bfc3b02a3c3.tar.bz2 nixlib-a87208de5896e01e51933f2eede44bfc3b02a3c3.tar.lz nixlib-a87208de5896e01e51933f2eede44bfc3b02a3c3.tar.xz nixlib-a87208de5896e01e51933f2eede44bfc3b02a3c3.tar.zst nixlib-a87208de5896e01e51933f2eede44bfc3b02a3c3.zip |
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>
Diffstat (limited to 'pkgs/development/libraries/libopus')
-rw-r--r-- | pkgs/development/libraries/libopus/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libopus/default.nix b/pkgs/development/libraries/libopus/default.nix index b1bf65d0fe67..78b264506f01 100644 --- a/pkgs/development/libraries/libopus/default.nix +++ b/pkgs/development/libraries/libopus/default.nix @@ -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; |