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
This commit is contained in:
Efraim Flashner 2024-01-07 12:43:50 +02:00
parent bc6783d9c0
commit a440b5eb2f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 8 additions and 4 deletions

View file

@ -888,7 +888,8 @@ (define-public rust-dav1d-sys-0.7
(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

View file

@ -5575,7 +5575,7 @@ (define-public shotcut
(define-public dav1d
(package
(name "dav1d")
(version "1.0.0")
(version "1.3.0")
(source
(origin
(method git-fetch)
@ -5584,9 +5584,12 @@ (define-public dav1d
(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