guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

24/37: gnu: webrtc-audio-processing: Fix riscv64 detection.


From: guix-commits
Subject: 24/37: gnu: webrtc-audio-processing: Fix riscv64 detection.
Date: Thu, 14 Oct 2021 14:41:26 -0400 (EDT)

efraim pushed a commit to branch wip-riscv
in repository guix.

commit 5425ae572198dcd0820e16573eabc93fbd6f21e4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 29 13:35:51 2021 +0300

    gnu: webrtc-audio-processing: Fix riscv64 detection.
    
    * gnu/packages/audio.scm (webrtc-audio-processing)[source]: Add snippet
    to detect riscv64 machines.
---
 gnu/packages/audio.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 95bf52a6..9cff09a 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -245,7 +245,13 @@ softsynth library that can be use with other 
applications.")
         (string-append "http://freedesktop.org/software/pulseaudio/";
                        name "/" name "-" version ".tar.xz"))
        (sha256
-        (base32 "1gsx7k77blfy171b6g3m0k0s0072v6jcawhmx1kjs9w5zlwdkzd0"))))
+        (base32 "1gsx7k77blfy171b6g3m0k0s0072v6jcawhmx1kjs9w5zlwdkzd0"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           (substitute* "webrtc/typedefs.h"
+             (("defined\\(__aarch64__\\)" all)
+              (string-append all " || (defined(__riscv) && __riscv_xlen == 
64)")))))))
     (build-system gnu-build-system)
     (synopsis "WebRTC's Audio Processing Library")
     (description "WebRTC-Audio-Processing library based on Google's



reply via email to

[Prev in Thread] Current Thread [Next in Thread]