mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: Add libkscreen-5.
* gnu/packages/kde-plasma.scm (libkscreen-5): New variable. * gnu/packages/lxqt.scm (lxqt-config)[propagated-inputs]: Switch to it. Change-Id: I7cce1a02251800496c731883f64fc17938dd8ceb
This commit is contained in:
parent
d2419557d1
commit
02910653ce
2 changed files with 41 additions and 1 deletions
|
@ -1189,6 +1189,45 @@ (define-public libkscreen
|
|||
basic needs and easy to configure for those who want special setups.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
;; use by lxqt-config
|
||||
(define-public libkscreen-5
|
||||
(package
|
||||
(inherit libkscreen)
|
||||
(name "libkscreen")
|
||||
(version "5.27.7")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://kde/stable/plasma/" version "/"
|
||||
name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "1ary7qavz8vkzbvjx2mxv09h61hxa7i4f7rfgbykldbc83ripdc6"))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" (getcwd))
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
(setenv "WAYLAND_DISPLAY" "libkscreen-test-wayland-backend-0")
|
||||
(invoke "ctest" "-E"
|
||||
(string-append "(kscreen-testedid"
|
||||
"|kscreen-testqscreenbackend"
|
||||
"|kscreen-testkwaylandbackend"
|
||||
"|kscreen-testkwaylandconfig"
|
||||
"|kscreen-testkwaylanddpms)"))))))))
|
||||
(native-inputs
|
||||
(list extra-cmake-modules
|
||||
pkg-config
|
||||
qttools-5
|
||||
;; For testing.
|
||||
dbus))
|
||||
(inputs
|
||||
(list kconfig-5 kwayland-5 libxrandr plasma-wayland-protocols
|
||||
qtbase-5 qtwayland-5 wayland qtx11extras))))
|
||||
|
||||
(define-public libksysguard
|
||||
(package
|
||||
(name "libksysguard")
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
;;; Copyright © 2020 Fakhri Sajadi <f.sajadi@pantherx.org>
|
||||
;;; Copyright © 2020 André Batista <nandre@riseup.net>
|
||||
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
|
||||
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -371,7 +372,7 @@ (define-public lxqt-config
|
|||
;; XXX: This is a workaround so libkscreen can find the backends as we
|
||||
;; dont have a way specify them. We may want to patch like Nix does.
|
||||
(propagated-inputs
|
||||
(list libkscreen))
|
||||
(list libkscreen-5))
|
||||
(arguments
|
||||
'(#:tests? #f ; no tests
|
||||
#:phases
|
||||
|
|
Loading…
Reference in a new issue