gnu: rav1e: Don't build the static library.
* gnu/packages/video.scm (rav1e)[arguments]: Adjust the custom 'build phase to not build the static library. Remove phase deleting static library. Change-Id: I624e5e076eac867b12cfc5fbf3d33c2832d23646
parent
448e90db80
commit
0d84d3ff9f
|
@ -5588,12 +5588,9 @@ result in several formats:
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(invoke "cargo" "cinstall" "--release"
|
||||
(string-append "--prefix=" out)))))
|
||||
(add-after 'install 'delete-static-library
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Delete 93 MiB (!) static library.
|
||||
(delete-file (string-append (assoc-ref outputs "out")
|
||||
"/lib/librav1e.a")))))))
|
||||
;; Only build the dynamic library.
|
||||
"--library-type" "cdylib"
|
||||
(string-append "--prefix=" out))))))))
|
||||
(native-inputs
|
||||
(list nasm pkg-config rust-cargo-c))
|
||||
(inputs
|
||||
|
|
Reference in New Issue