1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Efraim Flashner
2024-01-07 17:23:00 +02:00
parent b755405103
commit 4e549daedb

View File

@@ -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/")