webrtc-audio-processing_1: tighten platforms

Only supports an explicitly-enumerated list of platforms.
This matches what we do for webrtc-audio-processing_0_3.
This commit is contained in:
Alyssa Ross 2024-05-10 10:24:54 +02:00
parent b211b392b8
commit 6326c8a6dc
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -53,7 +53,8 @@ stdenv.mkDerivation rec {
homepage = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing";
description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project";
license = licenses.bsd3;
platforms = platforms.unix;
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/master/webrtc/rtc_base/system/arch.h
platforms = intersectLists platforms.unix (platforms.arm ++ platforms.aarch64 ++ platforms.mips ++ platforms.power ++ platforms.riscv ++ platforms.x86);
# BE platforms are unsupported
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/31
badPlatforms = platforms.bigEndian;