diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-01-24 12:07:58 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:43 +0200 |
commit | 0ed04bbfe22b15dbfa631b47a6a0655dd1ae8128 (patch) | |
tree | 9e16014a059959957139a3e8576037e097df1a6b /gnu/packages/audio.scm | |
parent | 1cf91238a2b06a472faa43bd6324e705dfd9b8a5 (diff) | |
download | guix-0ed04bbfe22b15dbfa631b47a6a0655dd1ae8128.tar.gz |
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 0c974c078f..1c5f3f653f 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -313,34 +313,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 |