gnu: libkscreen: Update to 5.27.6.

* gnu/packages/kde-plasma.scm (libkscreen): Update to 5.27.6.
[native-inputs]: Add qttools-5
[inputs]: Add kconfig.
[arguments]: Adjust excluded tests for "ctest -E".

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Zheng Junjie 2023-07-15 16:26:50 +08:00 committed by 宋文武
parent cd8e07e7cb
commit 3ed9da52eb
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -926,14 +926,14 @@ (define-public ksysguard
(define-public libkscreen (define-public libkscreen
(package (package
(name "libkscreen") (name "libkscreen")
(version "5.25.5") (version "5.27.6")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/" version "/" (uri (string-append "mirror://kde/stable/plasma/" version "/"
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 "17f2pbbkpmw3a32nsqlwd0x5xb71l6dzrh7ldwcqv46nvb54yhfa")))) (base32 "1ywyg1i9bg0nawndl4hzivd4yfsqk5snls8ak1vyr9xmm8zkgaf1"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -945,14 +945,19 @@ (define-public libkscreen
(setenv "QT_QPA_PLATFORM" "offscreen") (setenv "QT_QPA_PLATFORM" "offscreen")
(setenv "WAYLAND_DISPLAY" "libkscreen-test-wayland-backend-0") (setenv "WAYLAND_DISPLAY" "libkscreen-test-wayland-backend-0")
(invoke "ctest" "-E" (invoke "ctest" "-E"
"(kscreen-testscreenconfig|kscreen-testqscreenbackend|kscreen-testkwaylandbackend|kscreen-testkwaylandconfig|kscreen-testkwaylanddpms)"))))))) (string-append "(kscreen-testedid"
"|kscreen-testqscreenbackend"
"|kscreen-testkwaylandbackend"
"|kscreen-testkwaylandconfig"
"|kscreen-testkwaylanddpms)"))))))))
(native-inputs (native-inputs
(list extra-cmake-modules (list extra-cmake-modules
pkg-config pkg-config
qttools-5
;; For testing. ;; For testing.
dbus)) dbus))
(inputs (inputs
(list kwayland libxrandr plasma-wayland-protocols (list kconfig kwayland libxrandr plasma-wayland-protocols
qtbase-5 qtwayland-5 wayland qtx11extras)) qtbase-5 qtwayland-5 wayland qtx11extras))
(home-page "https://community.kde.org/Solid/Projects/ScreenManagement") (home-page "https://community.kde.org/Solid/Projects/ScreenManagement")
(synopsis "KDE's screen management software") (synopsis "KDE's screen management software")