From 4e549daedb4eac799e001567a6a310beabd5180c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 7 Jan 2024 17:23:00 +0200 Subject: [PATCH] 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 ee10af90c5..ec053bba56 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -5945,7 +5945,10 @@ (define-public rav1e "--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/")