[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/08: gnu: libavif: Update to 0.11.1.
From: |
guix-commits |
Subject: |
06/08: gnu: libavif: Update to 0.11.1. |
Date: |
Thu, 17 Nov 2022 13:28:39 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit c9fabf39a8b04dfd77238a3c683e2825b4a0f92a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Nov 17 04:36:18 2022 +0100
gnu: libavif: Update to 0.11.1.
* gnu/packages/image.scm (libavif): Update to 0.11.1.
[arguments]: Remove check phase.
[native-inputs]: Add GOOGLETEST.
[inputs]: Add LIBJPEG-TURBO, LIBPNG, and ZLIB. While at it, remove labels.
---
gnu/packages/image.scm | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 9e53b7483e..ff566b8ca1 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2155,7 +2155,7 @@ This package can be used to create @code{favicon.ico}
files for web sites.")
(define-public libavif
(package
(name "libavif")
- (version "0.9.2")
+ (version "0.11.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2164,7 +2164,7 @@ This package can be used to create @code{favicon.ico}
files for web sites.")
(file-name (git-file-name name version))
(sha256
(base32
- "1yxmgjlxm1srm98zyj79bj8r8vmg67daqnq0ggcvxknq54plkznk"))))
+ "02zmb62g0yx6rfz4w1isyzfrckv5i7dzyz26rp2mspbx9w6v8j4r"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
@@ -2176,23 +2176,25 @@ This package can be used to create @code{favicon.ico}
files for web sites.")
"-DAVIF_BUILD_TESTS=ON")
#:phases
(modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "./aviftest" "../source/tests/data")))
(add-after 'install 'install-readme
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/libavif-" ,version)))
(install-file "../source/README.md" doc)))))))
+ (native-inputs (list googletest))
(inputs
- `(("dav1d" ,dav1d)
- ("libaom" ,libaom)
+ (append
+ (list dav1d
+ libaom
+ libjpeg-turbo
+ libpng
+ zlib)
;; 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)))
- `(("rav1e" ,rav1e))
- '())))
+ (if (string-prefix? "x86_64" (or (%current-target-system)
+ (%current-system)))
+ (list rav1e)
+ '())))
(synopsis "Encode and decode AVIF files")
(description "Libavif is a C implementation of @acronym{AVIF, the AV1 Image
File Format}. It can encode and decode all YUV formats and bit depths
supported
- branch staging updated (522d21863e -> f8e1c9c003), guix-commits, 2022/11/17
- 01/08: Merge branch 'master' into staging, guix-commits, 2022/11/17
- 02/08: gnu: spirv-headers: Update to 1.3.231.1., guix-commits, 2022/11/17
- 03/08: gnu: spirv-tools: Update to 2022.4., guix-commits, 2022/11/17
- 07/08: gnu: libavif: Use G-expression., guix-commits, 2022/11/17
- 05/08: gnu: libaom: Update to 3.5.0., guix-commits, 2022/11/17
- 04/08: gnu: glslang: Update to 11.9.0., guix-commits, 2022/11/17
- 06/08: gnu: libavif: Update to 0.11.1.,
guix-commits <=
- 08/08: gnu: dav1d: Update to 1.0.0., guix-commits, 2022/11/17