diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-01-03 22:39:56 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-01-04 09:51:44 +0200 |
commit | 1d3098fc3bfd6cddc38c359c5e834ee2974c99ec (patch) | |
tree | aaa36a1430c8724fb31b6cc0e1ef903d1e0b17bd | |
parent | fe1ed81d28dcc5d6448d2eb6431397bbd10a2a55 (diff) | |
download | guix-1d3098fc3bfd6cddc38c359c5e834ee2974c99ec.tar.gz |
gnu: libavif: Add rav1e when it is supported.
* gnu/packages/image.scm (libavif)[inputs]: Add rav1e when building on a supported system.
-rw-r--r-- | gnu/packages/image.scm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 6daf479c81..195d127b31 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -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 |