From 063ea2790d55780943a0bd07be64421106b22d4d Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Mon, 26 Dec 2022 10:50:19 +0100 Subject: [PATCH] gnu: system-settings: Add phase 'wrap-executable and additional inputs. * gnu/packages/kde-plasma.scm (system-settings)[inputs]: Add qtquickcontrols-5. [arguments]: Add phase 'wrap-executable. [inputs]: Add kcoreaddons, kdeclarative, knewstuff, kuserfeedback, qtgraphicaleffects and qtquickcontrols2-5. diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index 89405bacaa..157ac3e1dd 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -2495,9 +2495,34 @@ (define-public system-settings (base32 "0n7mf6ygi8fgn1m6pk2fadnqj1h58mxqni3h19xbi373wfypq5fl")))) (build-system qt-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'install 'wrap-executable + (lambda* (#:key inputs #:allow-other-keys) + (let ((out #$output) + (qml "/lib/qt5/qml")) + (wrap-program (string-append out + "/bin/systemsettings5") + `("QML2_IMPORT_PATH" ":" prefix + (,(string-append out qml) + ,@(map (lambda (i) + (string-append + (assoc-ref inputs i) qml)) + '("kirigami" + "kcoreaddons" + "kdeclarative" + "knewstuff" + "kuserfeedback" + "plasma-workspace" + "qtdeclarative" + "qtgraphicaleffects" + "qtquickcontrols" + "qtquickcontrols2"))))))))))) (native-inputs (list extra-cmake-modules)) (inputs (list kauth kcrash + kcoreaddons + kdeclarative kitemviews kitemmodels kcmutils @@ -2511,14 +2536,19 @@ (define-public system-settings kdbusaddons kconfig kpackage + knewstuff kactivities kactivities-stats kguiaddons kirigami knotifications krunner + kuserfeedback plasma-workspace - qtdeclarative-5)) + qtdeclarative-5 + qtgraphicaleffects + qtquickcontrols-5 + qtquickcontrols2-5)) (synopsis "Control center to configure Plasma Desktop") (description "This package provides configuration UI for Plasma Desktop.") (home-page "https://invent.kde.org/plasma/systemsettings") -- 2.38.1