gnu: ffmpeg: Use 'modify-phases'.
* gnu/packages/video.scm (ffmpeg)[arguments]: Use 'modify-phases' instead of 'alist-cons-after' et al.
This commit is contained in:
parent
e1600f6996
commit
f2feb0ce7c
|
@ -323,7 +323,8 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
|
|||
#:imported-modules (,@%gnu-build-system-modules
|
||||
(guix build rpath))
|
||||
#:phases
|
||||
(alist-replace
|
||||
(modify-phases %standard-phases
|
||||
(replace
|
||||
'configure
|
||||
;; configure does not work followed by "SHELL=..." and
|
||||
;; "CONFIG_SHELL=..."; set environment variables instead
|
||||
|
@ -409,8 +410,8 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
|
|||
"--disable-mips32r2"
|
||||
"--disable-mipsdspr1"
|
||||
"--disable-mipsdspr2"
|
||||
"--disable-mipsfpu"))))
|
||||
(alist-cons-after
|
||||
"--disable-mipsfpu")))))
|
||||
(add-after
|
||||
'strip 'add-lib-to-runpath
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
|
@ -419,8 +420,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
|
|||
(with-directory-excursion out
|
||||
(for-each (cut augment-rpath <> lib)
|
||||
(append (find-files "bin" ".*")
|
||||
(find-files "lib" "\\.so\\..*\\."))))))
|
||||
%standard-phases))))
|
||||
(find-files "lib" "\\.so\\..*\\."))))))))))
|
||||
(home-page "http://www.ffmpeg.org/")
|
||||
(synopsis "Audio and video framework")
|
||||
(description "FFmpeg is a complete, cross-platform solution to record,
|
||||
|
|
Loading…
Reference in New Issue