mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 20:59:31 -05:00
gnu: libavif: Use G-expression.
* gnu/packages/image.scm (libavif)[arguments]: Use gexp.
This commit is contained in:
parent
c9fabf39a8
commit
e432688ede
1 changed files with 14 additions and 13 deletions
|
@ -2167,20 +2167,21 @@ (define-public libavif
|
||||||
"02zmb62g0yx6rfz4w1isyzfrckv5i7dzyz26rp2mspbx9w6v8j4r"))))
|
"02zmb62g0yx6rfz4w1isyzfrckv5i7dzyz26rp2mspbx9w6v8j4r"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
|
(list #:configure-flags
|
||||||
,@(if (string-prefix? "x86_64"
|
#~'("-DAVIF_CODEC_AOM=ON" "-DAVIF_CODEC_DAV1D=ON"
|
||||||
(or (%current-target-system)
|
#$@(if (string-prefix? "x86_64"
|
||||||
(%current-system)))
|
(or (%current-target-system)
|
||||||
'("-DAVIF_CODEC_RAV1E=ON")
|
(%current-system)))
|
||||||
'())
|
'("-DAVIF_CODEC_RAV1E=ON")
|
||||||
"-DAVIF_BUILD_TESTS=ON")
|
'())
|
||||||
|
"-DAVIF_BUILD_TESTS=ON")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'install-readme
|
(add-after 'install 'install-readme
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let ((doc (string-append #$output "/share/doc/libavif-"
|
||||||
(doc (string-append out "/share/doc/libavif-" ,version)))
|
#$(package-version this-package))))
|
||||||
(install-file "../source/README.md" doc)))))))
|
(install-file "../source/README.md" doc)))))))
|
||||||
(native-inputs (list googletest))
|
(native-inputs (list googletest))
|
||||||
(inputs
|
(inputs
|
||||||
(append
|
(append
|
||||||
|
|
Loading…
Reference in a new issue