Archived
1
0
Fork 0

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:
Efraim Flashner 2023-01-03 22:39:56 +02:00
parent fe1ed81d28
commit 1d3098fc3b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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