aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-10-02 23:57:12 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:12 +0100
commit83f7a0b114bf2c8a3c160f9997e23773f7b28c8c (patch)
tree5b40ce31b2fbca7c4f3ca3571dbb19e75f6e982b
parenteba5097c07d755db258868586955636a5af57cb5 (diff)
downloadguix-83f7a0b114bf2c8a3c160f9997e23773f7b28c8c.tar.gz
guix-83f7a0b114bf2c8a3c160f9997e23773f7b28c8c.zip
gnu: Add libqaccessibilityclient.
* gnu/packages/kde.scm (libqaccessibilityclient): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
-rw-r--r--gnu/packages/kde.scm35
1 files changed, 35 insertions, 0 deletions
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")