guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: libavif: Add configure-flag for rav1e when available.


From: guix-commits
Subject: 02/03: gnu: libavif: Add configure-flag for rav1e when available.
Date: Wed, 4 Jan 2023 03:01:53 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit fe1ed81d28dcc5d6448d2eb6431397bbd10a2a55
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 3 22:37:09 2023 +0200

    gnu: libavif: Add configure-flag for rav1e when available.
    
    * gnu/packages/image.scm (libavif)[arguments]: Adjust configure-flags to
    build with rav1e support when it is in the build closure.
---
 gnu/packages/image.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 53e5363dcd..6daf479c81 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2172,11 +2172,9 @@ This package can be used to create @code{favicon.ico} 
files for web sites.")
      (list
       #:configure-flags
       #~(list "-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
-              #$@(if (string-prefix? "x86_64"
-                                     (or (%current-target-system)
-                                         (%current-system)))
-                     '("-DAVIF_CODEC_RAV1E=ON")
-                     '())
+              #$@(if (this-package-input "rav1e")
+                   '("-DAVIF_CODEC_RAV1E=ON")
+                   '())
               "-DAVIF_BUILD_TESTS=ON" "-DAVIF_BUILD_APPS=ON")
       #:phases
       #~(modify-phases %standard-phases



reply via email to

[Prev in Thread] Current Thread [Next in Thread]