From 0ed04bbfe22b15dbfa631b47a6a0655dd1ae8128 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 24 Jan 2024 12:07:58 -0500 Subject: 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 --- gnu/packages/audio.scm | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) (limited to 'gnu/packages/audio.scm') 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: - ;; . - (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 -- cgit v1.2.3