From 01b6f35a272e569c9cd0beed2ed210f536e5e44f Mon Sep 17 00:00:00 2001 From: Prafulla Giri Date: Wed, 9 Sep 2020 14:02:24 +0545 Subject: [PATCH 1/2] gnu: kde: kdenlive: Make breeze theme available at runtime. * gnu/packages/kde.scm (kdenlive): [inputs]: Add breeze. [arguments]: In wrap-program phase, add XDG_DATA_DIRS to include the 'share' sub-directory of the package breeze. --- gnu/packages/kde.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index a9ac23e049..b22c3f0d8f 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -177,6 +177,7 @@ This package contains GUI widgets for baloo.") ("qtquickcontrols" ,qtquickcontrols) ("qtquickcontrols2" ,qtquickcontrols2) ("kiconthemes" ,kiconthemes) + ("breeze" ,breeze) ("qtgraphicaleffects" ,qtgraphicaleffects) ("kplotting" ,kplotting))) (arguments @@ -192,10 +193,13 @@ This package contains GUI widgets for baloo.") (qtdeclarative (assoc-ref inputs "qtdeclarative")) (frei0r (assoc-ref inputs "frei0r-plugins")) (ffmpeg (assoc-ref inputs "ffmpeg")) + (breeze (assoc-ref inputs "breeze")) (qml "/lib/qt5/qml")) (wrap-program (string-append out "/bin/kdenlive") `("PATH" ":" prefix ,(list (string-append ffmpeg "/bin"))) + `("XDG_DATA_DIRS" ":" prefix + ,(list (string-append breeze "/share"))) `("QT_PLUGIN_PATH" ":" prefix ,(map (lambda (label) (string-append (assoc-ref inputs label) -- 2.28.0