webrtc-audio-processing_1: use upstream's OS list
This will allow disabling optional webrtc-audio-processing functionality on e.g. FreeBSD.
This commit is contained in:
parent
80da651aa1
commit
bdf4373046
@ -53,8 +53,11 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing";
|
homepage = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing";
|
||||||
description = "More Linux packaging friendly copy of the AudioProcessing module from the WebRTC project";
|
description = "More Linux packaging friendly copy of the AudioProcessing module from the WebRTC project";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/master/webrtc/rtc_base/system/arch.h
|
platforms = intersectLists
|
||||||
platforms = intersectLists platforms.unix (platforms.arm ++ platforms.aarch64 ++ platforms.mips ++ platforms.power ++ platforms.riscv ++ platforms.x86);
|
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/master/meson.build
|
||||||
|
(platforms.darwin ++ platforms.linux ++ platforms.windows)
|
||||||
|
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/blob/master/webrtc/rtc_base/system/arch.h
|
||||||
|
(platforms.arm ++ platforms.aarch64 ++ platforms.mips ++ platforms.power ++ platforms.riscv ++ platforms.x86);
|
||||||
# BE platforms are unsupported
|
# BE platforms are unsupported
|
||||||
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/31
|
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/31
|
||||||
badPlatforms = platforms.bigEndian;
|
badPlatforms = platforms.bigEndian;
|
||||||
|
Loading…
Reference in New Issue
Block a user