guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: WIP FIXUP "Update kde-frameworks to 4.46": Add purpose


From: Hartmut Goebel
Subject: 04/06: WIP FIXUP "Update kde-frameworks to 4.46": Add purpose
Date: Tue, 12 Jun 2018 16:53:58 -0400 (EDT)

htgoebel pushed a commit to branch wip-kde-frameworks-update
in repository guix.

commit 2cbdf50b3b49840a1aeeb08837e124778fa4bef5
Author: Hartmut Goebel <address@hidden>
Date:   Sun May 27 23:29:36 2018 +0200

    WIP FIXUP "Update kde-frameworks to 4.46": Add purpose
    
    Todo
    - Fixup into "kde-frameworks: Update to 5.46.0".
    - Tests fail, needs to be investigated.
    
    Beside update:
    - Add 'purpose', new framework since 5.43.
    
      (purpose): New variable.
---
 gnu/packages/kde-frameworks.scm | 48 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 407f363..9d44849 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3330,6 +3330,54 @@ script engines.")
     ;; dual licensed
     (license (list license:gpl2+ license:lgpl2.1+))))
 
+(define-public purpose
+  (package
+    (name "purpose")
+    (version "5.46.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1mrssw484hb3nk9hafys0ns1ixd8h3l6m8qnyry9ky964xqmbkg1"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("kconfig" ,kconfig)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ;; optional: KAccounts, which is not part of the framework
+       ;; optional run-time packages: Ubuntu.OnlineAccounts-QMLModule,
+       ;; org.kde.kdeconnect-QMLModule, org.kde.kquickcontrolsaddons-QMLModule
+       ("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)))
+    (arguments
+     `(;;#:tests? #f  TODO: tests fail
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "XDG_RUNTIME_DIR" (getcwd))
+             ;; make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (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.")
+    ;; dual licensed
+    ;; TODO: Check this!
+    (license (list license:gpl2+ 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]