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: Tue, 2 Nov 2021 03:27:14 -0400 (EDT)

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

commit f70d8e5124f1405f039317b81bdc2cdd84b88e63
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 be8c8f8..7610fb1 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -246,7 +246,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]