guix-commits
[Top][All Lists]
Advanced

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

41/84: gnu: dav1d: Update to 1.3.0.


From: guix-commits
Subject: 41/84: gnu: dav1d: Update to 1.3.0.
Date: Mon, 8 Jan 2024 12:54:06 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit a64aa07b6d44b31ca19abb0f2450858b8f2a2414
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jan 7 12:43:50 2024 +0200

    gnu: dav1d: Update to 1.3.0.
    
    * gnu/packages/video.scm (dav1d): Update to 1.3.0.
    [native-inputs]: Only use nasm when building for x86_64 or i686.
    * gnu/packages/crates-graphics.scm (rust-dav1d-sys-0.7)[arguments]: Skip
    the build.
    
    Change-Id: I2e3fb6d343c92e48f231bf2b77259856a47bbc51
---
 gnu/packages/crates-graphics.scm | 3 ++-
 gnu/packages/video.scm           | 9 ++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 3c989ee5e9..dbe930092c 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -888,7 +888,8 @@ and iOS.")
                (base32 
"13z5qvf35lkda67l6l1bkdp1gmqg75cqfblldxh4n8rbmn4zsj9s"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t     ; Expects 1.0.0 <= dav1d < 1.3.0
+       #:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
         ("rust-system-deps" ,rust-system-deps-6))))
     (native-inputs
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 4f63aab4c0..1597436e53 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -5249,7 +5249,7 @@ and audio capture, network stream playback, and many 
more.")
 (define-public dav1d
   (package
     (name "dav1d")
-    (version "1.0.0")
+    (version "1.3.0")
     (source
       (origin
         (method git-fetch)
@@ -5258,9 +5258,12 @@ and audio capture, network stream playback, and many 
more.")
                (commit version)))
         (file-name (git-file-name name version))
         (sha256
-         (base32 "0jkvb5as7danpalzlwd0w1dc9i2vijvmf39z0j6fwqvialsgnnj5"))))
+         (base32 "17r6qdijdnqfciqa0ia2y4gyhaav6y5gc4d9xj4dg9h7xnpyxc3k"))))
     (build-system meson-build-system)
-    (native-inputs (list nasm))
+    (native-inputs
+     (if (target-x86?)
+         (list nasm)
+         '()))
     (home-page "https://code.videolan.org/videolan/dav1d";)
     (synopsis "AV1 decoder")
     (description "dav1d is a new AV1 cross-platform decoder, and focused on



reply via email to

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