guix-commits
[Top][All Lists]
Advanced

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

28/41: gnu: webrtc-audio-processing: Fix riscv64 detection.


From: guix-commits
Subject: 28/41: gnu: webrtc-audio-processing: Fix riscv64 detection.
Date: Thu, 9 Sep 2021 08:39:37 -0400 (EDT)

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

commit 589eae6a476e4d92ec1827ef4500fdd3aa4d2011
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 0770e3d..0361f84 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]