lol

webrtc-audio-processing: tighten platforms

webrtc-audio-processing only builds for specifically listed
architectures, so we shouldn't mark it as being supported on all of
them.

I've also changed the x86_32 breakage to be marked with meta.broken,
as it's more semantically appropriate.

+6 -2
+3 -1
pkgs/development/libraries/webrtc-audio-processing/0.3.nix
··· 24 24 homepage = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing"; 25 25 description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project"; 26 26 license = licenses.bsd3; 27 - platforms = platforms.unix; 27 + # https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/v0.3.1/webrtc/rtc_base/system/arch.h 28 + # + our patches 29 + platforms = intersectLists platforms.unix (platforms.aarch64 ++ platforms.mips ++ platforms.power ++ platforms.riscv ++ platforms.x86); 28 30 }; 29 31 }
+3 -1
pkgs/development/libraries/webrtc-audio-processing/default.nix
··· 36 36 homepage = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing"; 37 37 description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project"; 38 38 license = licenses.bsd3; 39 + # https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/master/webrtc/rtc_base/system/arch.h 40 + platforms = intersectLists platforms.unix (platforms.aarch64 ++ platforms.mips ++ platforms.riscv ++ platforms.x86); 39 41 # attempts to inline 256bit AVX instructions on x86 40 42 # https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5 41 - platforms = lib.lists.subtractLists platforms.i686 platforms.unix; 43 + broken = stdenv.isx86_32; 42 44 }; 43 45 }