gnu: kwayland: Update to 6.1.2.

* gnu/packages/kde-frameworks.scm (kwayland): Update to 6.1.2.
[inputs]: Remove qtbase-5 and qtwayland-5; add qtwayland.
[native-inputs]: Add wayland.
[source]: Update url.
[arguments]: Remove phases; Set #:qtbase to qtbase.
[home-page]: Update url.

Change-Id: Ia9229605caebac84092bf45150cd40a13c359ccc
This commit is contained in:
Zheng Junjie 2024-07-06 10:29:13 +08:00
parent cf80b60281
commit 1c26ad5cf6
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0

View File

@ -1181,51 +1181,29 @@ protocols used in KDE Plasma.")
(define-public kwayland (define-public kwayland
(package (package
(name "kwayland") (name "kwayland")
(version "5.114.0") (version "6.1.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append "mirror://kde/stable/plasma/"
"mirror://kde/stable/frameworks/" version "/kwayland" "-"
(version-major+minor version) "/" version ".tar.xz"))
name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1lzmlbv5vl656cigjj07hbc0gj6g1i2xqanvnhxj360109kzilf1")))) "15dmbcqhajqc100k95y6nh0w2br8xwql4mlq8grh4r6cdgn378n6"))))
(build-system qt-build-system) (build-system qt-build-system)
(native-inputs (native-inputs
(list extra-cmake-modules pkg-config)) (list extra-cmake-modules pkg-config
;; for wayland-scanner
wayland))
(inputs (inputs
(list libxkbcommon (list libxkbcommon
plasma-wayland-protocols plasma-wayland-protocols
qtbase-5 qtwayland
qtwayland-5
wayland wayland
wayland-protocols)) wayland-protocols))
(arguments (arguments
(list (list #:qtbase qtbase))
;; Tests spawn Wayland sessions that cannot run in parallel. (home-page "https://invent.kde.org/plasma/kwayland")
#: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") "|")
")"))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Qt-style API to interact with the wayland client and server") (synopsis "Qt-style API to interact with the wayland client and server")
(description "As the names suggest they implement a Client respectively a (description "As the names suggest they implement a Client respectively a
Server API for the Wayland protocol. The API is Qt-styled removing the needs to Server API for the Wayland protocol. The API is Qt-styled removing the needs to