mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
speexdsp: add withFftw3 flag
This commit is contained in:
parent
c5aab8968d
commit
7c139daa07
@ -1,4 +1,11 @@
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fftw }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, fftw
|
||||
, withFftw3 ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "speexdsp";
|
||||
@ -15,11 +22,10 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ fftw ];
|
||||
buildInputs = lib.optionals withFftw3 [ fftw ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-fft=gpl-fftw3"
|
||||
] ++ lib.optional stdenv.isAarch64 "--disable-neon";
|
||||
configureFlags = lib.optionals withFftw3 [ "--with-fft=gpl-fftw3" ]
|
||||
++ lib.optional stdenv.isAarch64 "--disable-neon";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.speex.org/";
|
||||
|
@ -27057,7 +27057,10 @@ with pkgs;
|
||||
|
||||
libcardiacarrest = callPackage ../misc/libcardiacarrest { };
|
||||
|
||||
easyeffects = callPackage ../applications/audio/easyeffects { };
|
||||
easyeffects = callPackage ../applications/audio/easyeffects {
|
||||
# Fix crashes with speexdsp effects
|
||||
speexdsp = speexdsp.override { withFftw3 = false; };
|
||||
};
|
||||
|
||||
pulseeffects-legacy = callPackage ../applications/audio/pulseeffects-legacy { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user