summary refs log tree commit diff
diff options
context:
space:
mode:
authorPrafulla Giri <pratheblackdiamond@gmail.com>2020-09-03 19:35:14 +0545
committerLudovic Courtès <ludo@gnu.org>2020-09-04 11:29:51 +0200
commit3f663e57ab292f571746043708670bdd168768f7 (patch)
tree3f0aba4bb3325361cc33b275112d73267f9247bd
parentd60f63a83852685cf439bbb6af678fb2ad93efaa (diff)
downloadguix-3f663e57ab292f571746043708670bdd168768f7.tar.gz
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>
-rw-r--r--gnu/packages/kde.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 9bc753001e..a9ac23e049 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -155,6 +155,7 @@ This package contains GUI widgets for baloo.")
       (inputs
        `(("shared-mime-info" ,shared-mime-info)
          ("frei0r-plugins" ,frei0r-plugins)
+         ("ffmpeg" ,ffmpeg)
          ("rttr" ,rttr)
          ("mlt" ,mlt)
          ("qtbase" ,qtbase)
@@ -190,8 +191,11 @@ This package contains GUI widgets for baloo.")
                       (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)