gnu: kdenlive: Add dependency on ladspa.

* gnu/packages/kde.scm (kdenlive)[inputs]: Add ladspa.
[arguments]<#:phases>: Wrap LADSPA_PATH in the 'wrap-executable phase.
This commit is contained in:
Vinicius Monego 2022-03-04 18:15:36 -03:00
parent 5b248cc23e
commit 4e1f20b43e
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -244,14 +244,17 @@ (define-public kdenlive
(add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(qtbase (assoc-ref inputs "qtbase"))
(ffmpeg (assoc-ref inputs "ffmpeg"))
(frei0r (assoc-ref inputs "frei0r-plugins"))
(ffmpeg (assoc-ref inputs "ffmpeg")))
(ladspa (assoc-ref inputs "ladspa"))
(qtbase (assoc-ref inputs "qtbase")))
(wrap-program (string-append out "/bin/kdenlive")
`("PATH" ":" prefix
,(list (string-append ffmpeg "/bin")))
`("FREI0R_PATH" ":" =
(,(string-append frei0r "/lib/frei0r-1/")))
(,(string-append frei0r "/lib/frei0r-1")))
`("LADSPA_PATH" ":" =
(,(string-append ladspa "/lib/ladspa")))
`("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
(,(string-append qtbase "/lib/qt5/plugins/platforms")))
`("MLT_PREFIX" ":" =
@ -277,6 +280,7 @@ (define-public kdenlive
knotifyconfig
kparts
kplotting
ladspa
mlt
purpose
qtbase-5