me
/
guix
Archived
1
0
Fork 0

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
Efraim Flashner 2023-11-19 10:54:36 +02:00
parent 448e90db80
commit 0d84d3ff9f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 6 deletions

View File

@ -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