diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-05-03 15:12:37 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-18 10:45:08 +0800 |
commit | 7805e143948c85152cdf5477a40ecbe63edaab36 (patch) | |
tree | a2adfa388807b52572c532329fee911d27878597 | |
parent | ea0f237a89ab63628e8857da3c727d0e6770643a (diff) | |
download | guix-7805e143948c85152cdf5477a40ecbe63edaab36.tar.gz guix-7805e143948c85152cdf5477a40ecbe63edaab36.zip |
gnu: libqaccessibilityclient: Update to 0.6.0.
* gnu/packages/kde.scm (libqaccessibilityclient): Update to 0.6.0.
[arguments]: Set QT_MAJOR_VERSION; Use Gexps.
[inputs]: Remove qtbase-5; Add qtbase.
Change-Id: Iea393dfa06d595500587d7c43de95c1c751ca2af
-rw-r--r-- | gnu/packages/kde.scm | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 361a5d832e..ad3b200dee 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -42,6 +42,7 @@ #:use-module (guix gexp) #:use-module (guix git-download) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix utils) #:use-module (guix packages) #:use-module (gnu packages) #:use-module (gnu packages algebra) @@ -873,7 +874,7 @@ compressed massif files can also be opened transparently.") (define-public libqaccessibilityclient (package (name "libqaccessibilityclient") - (version "0.4.1") + (version "0.6.0") (source (origin (method url-fetch) (uri (string-append "mirror://kde/stable/" name @@ -881,24 +882,28 @@ compressed massif files can also be opened transparently.") ".tar.xz")) (sha256 (base32 - "0a9lv2jb5gyqxvrkl5xl09gjnlp05b5yfzfb0wmaxz0l8d7qnxhw")))) + "0csxbwy4479196l32j4xnk672kiyggcaf3fi3q2cbj9dc94c8l2c")))) (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"))))))) + (list #:tests? #f ;TODO: Failing tests + #:configure-flags + #~(list (string-append + "-DQT_MAJOR_VERSION=" + #$(version-major + (package-version (this-package-input "qtbase"))))) + #: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)) + (inputs (list qtbase)) (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 |