mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: FFmpeg: Enable libwebp.
* gnu/packages/video.scm (ffmpeg)[inputs]: Add libwebp. [arguments]: Pass '--enable-libwebp' to #:configure-flags. (ffmpeg-2.8)[inputs]: Remove libwebp. Co-authored-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
e7e1f58563
commit
03b463b68b
1 changed files with 7 additions and 1 deletions
|
@ -1634,6 +1634,7 @@ (define-public ffmpeg-5
|
|||
libvdpau
|
||||
libvorbis
|
||||
libvpx
|
||||
libwebp
|
||||
libx11
|
||||
libx264
|
||||
mesa
|
||||
|
@ -1731,6 +1732,7 @@ (define-public ffmpeg-5
|
|||
"--enable-libvidstab"
|
||||
"--enable-libvorbis"
|
||||
"--enable-libvpx"
|
||||
"--enable-libwebp"
|
||||
"--enable-libxvid"
|
||||
"--enable-libx264"
|
||||
"--enable-libx265"
|
||||
|
@ -1877,7 +1879,11 @@ (define-public ffmpeg-2.8
|
|||
(let* ((dso (find-files "." "\\.so$"))
|
||||
(path (string-join (map dirname dso) ":")))
|
||||
(format #t "setting LD_LIBRARY_PATH to ~s~%" path)
|
||||
(setenv "LD_LIBRARY_PATH" path)))))))))
|
||||
(setenv "LD_LIBRARY_PATH" path)))))))
|
||||
;; FFmpeg 2.8 does support libwebp, but we don't enable it while configuring
|
||||
;; the build, and we'd rather not add features to this old package anymore.
|
||||
(inputs (modify-inputs (package-inputs ffmpeg-3.4)
|
||||
(delete "libwebp")))))
|
||||
|
||||
(define-public ffmpeg ffmpeg-5)
|
||||
|
||||
|
|
Loading…
Reference in a new issue