From 1d3098fc3bfd6cddc38c359c5e834ee2974c99ec Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 3 Jan 2023 22:39:56 +0200 Subject: 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(-) (limited to 'gnu') 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 -- cgit 1.4.1