diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-24 12:07:58 -0500 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-07-11 10:24:35 +0100 |
commit | d095570ce5cdebf66058cdd2cfc04f0fbb22ea82 (patch) | |
tree | b1d4d27a523ba9cc8380e9935db84415bb42d173 /gnu/packages/audio.scm | |
parent | 491d50932ae1a5c047c79f5a55acce47e26279aa (diff) |
gnu: webrtc-audio-processing: Fix build.
* gnu/packages/audio.scm (webrtc-audio-processing)
[source]: Drop patch and snippet.
[native-inputs]: Add pkg-config.
* gnu/packages/patches/webrtc-audio-processing-big-endian.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
Change-Id: I3340371a8d484a0ad1faddedc911169e29957281
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r-- | gnu/packages/audio.scm | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index ac5c62b2ed..9bc476cf91 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -309,34 +309,9 @@ displays a histogram of the roundtrip time jitter.") (string-append "http://freedesktop.org/software/pulseaudio/" name "/" name "-" version ".tar.gz")) (sha256 - (base32 "0xfvq5lxg612vfzk3zk6896zcb4cgrrb7fq76w9h40magz0jymcm")) - (modules '((guix build utils))) - (snippet - #~(begin - ;; See: - ;; <https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/4>. - (substitute* "meson.build" - (("absl_flags_registry") "absl_flags_reflection")) - (substitute* "webrtc/rtc_base/system/arch.h" - (("defined\\(__aarch64__\\)" all) - (string-append - ;; powerpc-linux - "(defined(__PPC__) && __SIZEOF_SIZE_T__ == 4)\n" - "#define WEBRTC_ARCH_32_BITS\n" - "#define WEBRTC_ARCH_BIG_ENDIAN\n" - ;; powerpc64-linux - "#elif (defined(__PPC64__) && defined(_BIG_ENDIAN))\n" - "#define WEBRTC_ARCH_64_BITS\n" - "#define WEBRTC_ARCH_BIG_ENDIAN\n" - ;; aarch64-linux - "#elif " all - ;; riscv64-linux - " || (defined(__riscv) && __riscv_xlen == 64)" - ;; powerpc64le-linux - " || (defined(__PPC64__) && defined(_LITTLE_ENDIAN))"))))) - (patches - (search-patches "webrtc-audio-processing-big-endian.patch")))) + (base32 "0xfvq5lxg612vfzk3zk6896zcb4cgrrb7fq76w9h40magz0jymcm")))) (build-system meson-build-system) + (native-inputs (list pkg-config)) (inputs (list abseil-cpp)) (synopsis "WebRTC's Audio Processing Library") (description "WebRTC-Audio-Processing library based on Google's |