gnu: libavif: Add rav1e when it is supported.
* gnu/packages/image.scm (libavif)[inputs]: Add rav1e when building on a supported system.
This commit is contained in:
parent
fe1ed81d28
commit
1d3098fc3b
1 changed files with 2 additions and 5 deletions
|
@ -2202,11 +2202,8 @@ This package can be used to create @code{favicon.ico} files for web sites.")
|
|||
(list avifenc* avifdec*))))))))
|
||||
(inputs
|
||||
(append
|
||||
;; XXX: rav1e depends on rust, which currently only works on x86_64.
|
||||
;; See also the related configure flag when changing this.
|
||||
(if (string-prefix? "x86_64" (or (%current-target-system)
|
||||
(%current-system)))
|
||||
(list rav1e) '())
|
||||
(if (member (%current-system) (package-transitive-supported-systems rav1e))
|
||||
(list rav1e) '())
|
||||
(list dav1d libaom zlib libpng libjpeg-turbo)))
|
||||
(outputs (list "out"
|
||||
"tools")) ; avifenc & avifdec
|
||||
|
|
Reference in a new issue