guix-commits
[Top][All Lists]
Advanced

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

43/84: gnu: rav1e: Only build with nasm on some platforms.


From: guix-commits
Subject: 43/84: gnu: rav1e: Only build with nasm on some platforms.
Date: Mon, 8 Jan 2024 12:54:06 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 241d6461228d16e9d2b727a487bb16ec582eb95b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 7 17:23:00 2024 +0200

    gnu: rav1e: Only build with nasm on some platforms.
    
    * gnu/packages/video.scm (rav1e)[native-inputs]: Only include nasm on
    platforms which need it for building.
    
    Change-Id: Ib9492c5a942d2c97f0aeda48305ec3ffc032fb4b
---
 gnu/packages/video.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 1597436e53..fa4a24404d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -5619,7 +5619,10 @@ result in several formats:
                        "--library-type" "cdylib"
                        (string-append "--prefix=" out))))))))
     (native-inputs
-     (list nasm pkg-config rust-cargo-c))
+     (append (if (target-x86?)
+                 (list nasm)
+                 '())
+             (list pkg-config rust-cargo-c)))
     (inputs
      (list libgit2 zlib))
     (home-page "https://github.com/xiph/rav1e/";)



reply via email to

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