summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-07 17:23:00 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:34 +0200
commit4e549daedb4eac799e001567a6a310beabd5180c (patch)
tree77a46924927c63bf32a64294b282ca5e43a4233c /gnu
parentb755405103fa27f5c71ecad693053369d3edfc18 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/video.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ee10af90c5..ec053bba56 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -5945,7 +5945,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/")