gnu: kdenlive: Add ffmpeg to input list

* gnu/packages/kde.scm (kdenlive): Add ffmpeg to inputs and wrap
the final binary accordingly to have ffmpeg in it's PATH.
[inputs]: Add ffmpeg.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Prafulla Giri 2020-09-03 19:35:14 +05:45 committed by Ludovic Courtès
parent d60f63a838
commit 3f663e57ab
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -155,6 +155,7 @@ (define-public kdenlive
(inputs
`(("shared-mime-info" ,shared-mime-info)
("frei0r-plugins" ,frei0r-plugins)
("ffmpeg" ,ffmpeg)
("rttr" ,rttr)
("mlt" ,mlt)
("qtbase" ,qtbase)
@ -190,8 +191,11 @@ (define-public kdenlive
(qtbase (assoc-ref inputs "qtbase"))
(qtdeclarative (assoc-ref inputs "qtdeclarative"))
(frei0r (assoc-ref inputs "frei0r-plugins"))
(ffmpeg (assoc-ref inputs "ffmpeg"))
(qml "/lib/qt5/qml"))
(wrap-program (string-append out "/bin/kdenlive")
`("PATH" ":" prefix
,(list (string-append ffmpeg "/bin")))
`("QT_PLUGIN_PATH" ":" prefix
,(map (lambda (label)
(string-append (assoc-ref inputs label)