webrtc-audio-processing_1: fix build on musl (#284471)

This commit is contained in:
Yureka 2024-01-28 13:01:57 +01:00 committed by GitHub
parent 5e17795097
commit 349c2d76c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitLab , fetchFromGitLab
, fetchurl
, darwin , darwin
, abseil-cpp , abseil-cpp
, meson , meson
@ -20,6 +21,15 @@ stdenv.mkDerivation rec {
hash = "sha256-8CDt4kMt2Owzyv22dqWIcFuHeg4Y3FxB405cLw3FZ+g="; hash = "sha256-8CDt4kMt2Owzyv22dqWIcFuHeg4Y3FxB405cLw3FZ+g=";
}; };
patches = [
# Fix an include oppsie that happens to not happen on glibc
# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/38
(fetchurl {
url = "https://git.alpinelinux.org/aports/plain/community/webrtc-audio-processing-1/0001-rtc_base-Include-stdint.h-to-fix-build-failures.patch?id=625e19c19972e69e034c0870a31b375833d1ab5d";
hash = "sha256-9nI22SJoU0H3CzsPSAObtCFTadtvkzdnqIh6mxmUuds=";
})
];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
nativeBuildInputs = [ nativeBuildInputs = [