summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-04 22:33:27 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-06 02:38:28 -0400
commit1c5781bc0d5b3132d90ed57ca198a9b9fa401ca5 (patch)
tree186144adedd21c4e6c4f3775d1b77c43f729ab30
parentba047d8bc2d5a65e21447b769cd55ec76b2261f1 (diff)
gnu: rust-ravif: Use rav1e instead of rust-rav1e.
With the rav1e package having been brought up to par with rust-rav1e, rust-ravif can use rav1e directly. * gnu/packages/crates-graphics.scm (rust-ravif) [cargo-inputs]{rust-rav1e}: Replace with... {rav1e}: ... this. [cargo-development-inputs]: New argument. [native-inputs]: New field.
-rw-r--r--gnu/packages/crates-graphics.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 5ea5473c3b..ac54dd40ff 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -33,6 +33,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (gnu packages)
+ #:use-module (gnu packages assembly)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages llvm)
@@ -2030,20 +2031,22 @@ where libaom (the reference encoder) is too slow.")
(base32 "1gyc7w1fz3qdk95cdpkj185dm6lskxfp329xm69waxc565fcz9rx"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-avif-serialize" ,rust-avif-serialize-0.6)
("rust-imgref" ,rust-imgref-1)
("rust-loop9" ,rust-loop9-0.1)
("rust-num-cpus" ,rust-num-cpus-1)
- ("rust-rav1e" ,rust-rav1e-0.4)
+ ("rav1e" ,rav1e)
("rust-rayon" ,rust-rayon-1)
- ("rust-rgb" ,rust-rgb-0.8))))
+ ("rust-rgb" ,rust-rgb-0.8))
+ #:cargo-development-inputs
+ (("rust-avif-parse" ,rust-avif-parse-0.13))))
+ (native-inputs
+ `(("nasm" ,nasm))) ;for building rav1e
(home-page "https://lib.rs/ravif")
(synopsis "Library for encoding images in AVIF format")
- (description
- "This package is a rav1e-based pure Rust library for encoding images in
-AVIF format.")
+ (description "This package is a rav1e-based pure Rust library for encoding
+images in AVIF format.")
(license license:bsd-3)))
(define-public rust-raw-window-handle-0.3