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: Iea393dfa06d595500587d7c43de95c1c751ca2afmaster
parent
ea0f237a89
commit
7805e14394
|
@ -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,24 +882,28 @@ 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
|
||||||
(replace 'check
|
#~(list (string-append
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
"-DQT_MAJOR_VERSION="
|
||||||
(when tests?
|
#$(version-major
|
||||||
;
|
(package-version (this-package-input "qtbase")))))
|
||||||
;; make Qt render "offscreen", required for tests
|
#:phases #~(modify-phases %standard-phases
|
||||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
(replace 'check
|
||||||
;; For missing '/etc/machine-id'
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(setenv "DBUS_FATAL_WARNINGS" "0")
|
(when tests?
|
||||||
(setenv "HOME"
|
;; make Qt render "offscreen", required for tests
|
||||||
(getcwd))
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
(invoke "dbus-launch" "ctest")))))))
|
;; For missing '/etc/machine-id'
|
||||||
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||||
|
(setenv "HOME"
|
||||||
|
(getcwd))
|
||||||
|
(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
|
||||||
|
|
Reference in New Issue