Merge pull request #257996 from Tungsten842/speexdsp

speexdsp: fix crashes with easyeffects
This commit is contained in:
Thiago Kenji Okada 2023-10-01 20:04:12 +01:00 committed by GitHub
commit 5ab91365cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 6 deletions

View file

@ -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/";

View file

@ -27038,7 +27038,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 { };