mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
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:
parent
ea0f237a89
commit
7805e14394
1 changed files with 21 additions and 16 deletions
|
@ -42,6 +42,7 @@ (define-module (gnu packages kde)
|
|||
#: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 @@ (define-public massif-visualizer
|
|||
(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 @@ (define-public libqaccessibilityclient
|
|||
".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
|
||||
|
|
Loading…
Reference in a new issue