[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: libavif: Add rav1e when it is supported.
From: |
guix-commits |
Subject: |
03/03: gnu: libavif: Add rav1e when it is supported. |
Date: |
Wed, 4 Jan 2023 03:01:54 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 1d3098fc3bfd6cddc38c359c5e834ee2974c99ec
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 3 22:39:56 2023 +0200
gnu: libavif: Add rav1e when it is supported.
* gnu/packages/image.scm (libavif)[inputs]: Add rav1e when building on
a supported system.
---
gnu/packages/image.scm | 7 ++-----
1 file 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