guix-commits
[Top][All Lists]
Advanced

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

89/143: gnu: Add libqaccessibilityclient.


From: guix-commits
Subject: 89/143: gnu: Add libqaccessibilityclient.
Date: Mon, 21 Nov 2022 16:10:49 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 83f7a0b114bf2c8a3c160f9997e23773f7b28c8c
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Sun Oct 2 23:57:12 2022 +0200

    gnu: Add libqaccessibilityclient.
    
    * gnu/packages/kde.scm (libqaccessibilityclient): New variable.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/kde.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 422e85a553..5669588b9c 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -678,6 +678,41 @@ the generated @file{massif.out.%pid} in the visualizer.  
Gzip or Bzip2
 compressed massif files can also be opened transparently.")
     (license license:gpl2+)))
 
+(define-public libqaccessibilityclient
+  (package
+    (name "libqaccessibilityclient")
+    (version "0.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/" name
+                                  "/libqaccessibilityclient-" version
+                                  ".tar.xz"))
+              (sha256
+               (base32
+                "0a9lv2jb5gyqxvrkl5xl09gjnlp05b5yfzfb0wmaxz0l8d7qnxhw"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f ;TODO: Failing tests
+       #:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests?
+                         ;
+                        ;; make Qt render "offscreen", required for tests
+                        (setenv "QT_QPA_PLATFORM" "offscreen")
+                        ;; For missing '/etc/machine-id'
+                        (setenv "DBUS_FATAL_WARNINGS" "0")
+                        (setenv "HOME"
+                                (getcwd))
+                        (invoke "dbus-launch" "ctest")))))))
+    (native-inputs (list dbus extra-cmake-modules))
+    (inputs (list qtbase-5))
+    (home-page "https://invent.kde.org/libraries/libqaccessibilityclient";)
+    (synopsis "Helper library to make writing accessibility tools easier")
+    (description "This package provides library that is used when writing
+accessibility clients such as screen readers.")
+    (license license:lgpl2.1+)))
+
 (define-public libkomparediff2
   (package
     (name "libkomparediff2")



reply via email to

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