me
/
guix
Archived
1
0
Fork 0

gnu: Add kwayland-5.

* gnu/packages/kde-frameworks.scm (kwayland-5): New variable.

Change-Id: I0c4c3f89d2826bd1e481babe7e6a70bc0cbf9503
master
Zheng Junjie 2024-07-08 14:58:53 +08:00
parent 729c487642
commit 47feb4492b
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 47 additions and 0 deletions

View File

@ -1498,6 +1498,53 @@ are adjusted to be what a Qt developer expects - two arguments of int are
represented by a QPoint or a QSize.")
(license license:lgpl2.1+)))
(define-public kwayland-5
(package
(inherit kwayland)
(name "kwayland")
(version "5.116.0")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://kde/stable/frameworks/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"1n5fq0gppx6rzgzkkskd077jygzj7cindb7zwr35yvbg5l69gdc8"))))
(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
(list libxkbcommon
plasma-wayland-protocols
qtwayland-5
wayland
wayland-protocols))
(arguments
(list
;; Tests spawn Wayland sessions that cannot run in parallel.
#:parallel-tests? #f
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-XDG_RUNTIME_DIR
(lambda _
(setenv "XDG_RUNTIME_DIR" (getcwd))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "ctest" "-E"
(string-append
"("
(string-join
;; XXX: maybe is upstream bug
'("kwayland-testWaylandRegistry"
"kwayland-testPlasmaShell"
"kwayland-testPlasmaWindowModel"
;; The 'kwayland-testXdgForeign' may fail on
;; powerpc64le with a 'Subprocess aborted' error.
"kwayland-testXdgForeign") "|")
")"))))))))))
(define-public kwidgetsaddons
(package
(name "kwidgetsaddons")