Archived
1
0
Fork 0

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
This commit is contained in:
Zheng Junjie 2024-05-03 15:12:37 +08:00
parent ea0f237a89
commit 7805e14394
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -42,6 +42,7 @@
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages algebra) #:use-module (gnu packages algebra)
@ -873,7 +874,7 @@ compressed massif files can also be opened transparently.")
(define-public libqaccessibilityclient (define-public libqaccessibilityclient
(package (package
(name "libqaccessibilityclient") (name "libqaccessibilityclient")
(version "0.4.1") (version "0.6.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/" name (uri (string-append "mirror://kde/stable/" name
@ -881,15 +882,19 @@ compressed massif files can also be opened transparently.")
".tar.xz")) ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0a9lv2jb5gyqxvrkl5xl09gjnlp05b5yfzfb0wmaxz0l8d7qnxhw")))) "0csxbwy4479196l32j4xnk672kiyggcaf3fi3q2cbj9dc94c8l2c"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ;TODO: Failing tests (list #:tests? #f ;TODO: Failing tests
#:phases (modify-phases %standard-phases #:configure-flags
#~(list (string-append
"-DQT_MAJOR_VERSION="
#$(version-major
(package-version (this-package-input "qtbase")))))
#:phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
;
;; make Qt render "offscreen", required for tests ;; make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen") (setenv "QT_QPA_PLATFORM" "offscreen")
;; For missing '/etc/machine-id' ;; For missing '/etc/machine-id'
@ -898,7 +903,7 @@ compressed massif files can also be opened transparently.")
(getcwd)) (getcwd))
(invoke "dbus-launch" "ctest"))))))) (invoke "dbus-launch" "ctest")))))))
(native-inputs (list dbus extra-cmake-modules)) (native-inputs (list dbus extra-cmake-modules))
(inputs (list qtbase-5)) (inputs (list qtbase))
(home-page "https://invent.kde.org/libraries/libqaccessibilityclient") (home-page "https://invent.kde.org/libraries/libqaccessibilityclient")
(synopsis "Helper library to make writing accessibility tools easier") (synopsis "Helper library to make writing accessibility tools easier")
(description "This package provides library that is used when writing (description "This package provides library that is used when writing