Unverified Commit 5ab91365 authored by Thiago Kenji Okada's avatar Thiago Kenji Okada Committed by GitHub
Browse files

Merge pull request #257996 from Tungsten842/speexdsp

speexdsp: fix crashes with easyeffects
parents b200dcc8 7c139daa
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
{ 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/";
+4 −1
Original line number Diff line number Diff line
@@ -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 { };