From 4207da9e2cea91d67b7d1c93efb7f316e802a391 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sat, 2 Nov 2019 09:16:19 +0100 Subject: [PATCH] gnu: Add purpose. * gnu/packages/kde-frameworks.scm(purpose): New variable. --- gnu/packages/kde-frameworks.scm | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 82bd2c4ea2..9230bb71c0 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -3495,6 +3495,45 @@ (define-public plasma-framework ;; dual licensed (license (list license:gpl2+ license:lgpl2.1+)))) +(define-public purpose + (package + (name "purpose") + (version "5.63.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1mc5z131z9da6qjhlxqz64ys4fgq38iryna58f8l04x8f9igjn8f")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(;;TODO: ("kaccounts" ,kaccounts) + ("kconfig" ,kconfig) + ("kcoreaddons" ,kcoreaddons) + ("knotifications" ,knotifications) + ("ki18n" ,ki18n) + ("kio" ,kio) + ("kirigami" ,kirigami) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative))) + (arguments + `(#:tests? #f ;; seem to require network; don't find QTQuick components + #:configure-flags '("-DBUILD_TESTING=OFF"))) ; not run anyway + (home-page "https://community.kde.org/Frameworks") + (synopsis "Offers available actions for a specific purpose") + (description "This framework offers the possibility to create integrate +services and actions on any application without having to implement them +specifically. Purpose will offer them mechanisms to list the different +alternatives to execute given the requested action type and will facilitate +components so that all the plugins can receive all the information they +need.") + (license license:lgpl2.1+))) + ;; This version of kdbusaddons does not use kinit as an input, and is used to ;; build kinit-bootstrap, as well as bootstrap versions of all kinit ;; dependencies which also rely on kdbusaddons.