guix-commits
[Top][All Lists]
Advanced

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

127/178: gnu: Add baloo-6.


From: guix-commits
Subject: 127/178: gnu: Add baloo-6.
Date: Mon, 17 Jun 2024 12:13:48 -0400 (EDT)

z572 pushed a commit to branch kde-team
in repository guix.

commit dfc856fe6bf8d2dbce1694bac6e0f7008f78557e
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri May 3 21:44:06 2024 +0800

    gnu: Add baloo-6.
    
    * gnu/packages/kde-frameworks.scm (baloo-6): New variable.
    (baloo): Inherit above.
    
    Change-Id: I145f112904e98ed2585e587c11e52323e772c848
---
 gnu/packages/kde-frameworks.scm | 63 ++++++++++++++++++++++++++++++++++++-----
 1 file changed, 56 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 0d32ac6444..3e902d6d80 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3332,8 +3332,63 @@ between feed formats.")
 ;; Tier 3 frameworks are generally more powerful, comprehensive packages, and
 ;; consequently have more complex dependencies.
 
+(define-public baloo-6
+  (package
+    (name "baloo")
+    (version "6.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1ancb5y7ypbhcw204paiy53bpj3q20y7appb38zin68jvk223n2l"))))
+    (build-system cmake-build-system)
+    (propagated-inputs
+     (list kcoreaddons-6 kfilemetadata-6))
+    (native-inputs
+     (list dbus extra-cmake-modules))
+    (inputs
+     (list kbookmarks-6
+           kcompletion-6
+           kconfig-6
+           kcrash-6
+           kdbusaddons-6
+           kidletime-6
+           kio-6
+           kitemviews-6
+           ki18n-6
+           kjobwidgets-6
+           kservice-6
+           kwidgetsaddons-6
+           kxmlgui-6
+           lmdb
+           qtbase
+           qtdeclarative
+           solid-6))
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (replace 'check
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (setenv "DBUS_FATAL_WARNINGS" "0")
+                              (setenv "HOME"
+                                      (getcwd))
+                              (invoke "dbus-launch" "ctest" "-E"
+                                      ;; this require udisks2.
+                                      "filewatchtest")))))))
+    (home-page "https://community.kde.org/Frameworks";)
+    (synopsis "File searching and indexing")
+    (description "Baloo provides file searching and indexing.  It does so by
+maintaining an index of the contents of your files.")
+    ;; dual licensed
+    (license (list license:gpl2+ license:lgpl2.1+))))
+
 (define-public baloo
   (package
+    (inherit baloo-6)
     (name "baloo")
     (version "5.114.0")
     (source (origin
@@ -3376,13 +3431,7 @@ between feed formats.")
                               (setenv "DBUS_FATAL_WARNINGS" "0")
                               (setenv "HOME"
                                       (getcwd))
-                              (invoke "dbus-launch" "ctest")))))))
-    (home-page "https://community.kde.org/Frameworks";)
-    (synopsis "File searching and indexing")
-    (description "Baloo provides file searching and indexing.  It does so by
-maintaining an index of the contents of your files.")
-    ;; dual licensed
-    (license (list license:gpl2+ license:lgpl2.1+))))
+                              (invoke "dbus-launch" "ctest")))))))))
 
 (define-public plasma-activities-stats
   (package



reply via email to

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