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
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

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