mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: video-contact-sheet: Use the new style.
* gnu/packages/video.scm (video-contact-sheet)[arguments]: Use the new style.
This commit is contained in:
parent
9b38d9b3b3
commit
0f4c68ecc8
1 changed files with 8 additions and 10 deletions
|
@ -5478,20 +5478,18 @@ (define-public video-contact-sheet
|
|||
#:make-flags
|
||||
#~(list (string-append "prefix=" #$output))
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(delete 'build)
|
||||
(delete 'check)
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((vcs (string-append (assoc-ref outputs "out") "/bin/vcs"))
|
||||
(ffmpeg (assoc-ref inputs "ffmpeg"))
|
||||
(imagemagick (assoc-ref inputs "imagemagick")))
|
||||
(wrap-program vcs
|
||||
(lambda _
|
||||
(wrap-program (string-append #$output "/bin/vcs")
|
||||
`("PATH" ":" prefix
|
||||
,(map (lambda (dir)
|
||||
(string-append dir "/bin"))
|
||||
(list ffmpeg imagemagick))))))))))
|
||||
(list #$(this-package-input "ffmpeg")
|
||||
#$(this-package-input "imagemagick"))))))))))
|
||||
(inputs
|
||||
(list bash-minimal ffmpeg imagemagick))
|
||||
(synopsis "Create contact sheets (preview images) from videos")
|
||||
|
|
Loading…
Reference in a new issue