From e528b5eea34a39d944cdb11900a49f68dd396c54 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Mon, 22 Aug 2022 18:13:10 +0200 Subject: [PATCH] gnu: Add kscreen. * gnu/packages/kde-plasma.scm (kscreen): New variable. Signed-off-by: Marius Bakke --- gnu/packages/kde-plasma.scm | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index 8b3e525b07..32fd21da0d 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2022 Brendan Tildesley +;;; Copyright © 2022 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -164,6 +165,47 @@ (define-public kgamma (home-page "https://invent.kde.org/plasma/kgamma5") (license license:gpl2+))) +(define-public kscreen + (package + (name "kscreen") + (version "5.25.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" + version "/" name "-" version + ".tar.xz")) + (sha256 + (base32 + "0361202n0366jiyv61w06jikh2i4s1fzr6x3chmdykx4fgvbqj7s")))) + (build-system cmake-build-system) + (arguments + ;; TODO: All tests fail + (list #:tests? #f)) + (native-inputs (list extra-cmake-modules qttools-5 pkg-config)) + (inputs (list kconfig + kdbusaddons + kdeclarative + kglobalaccel + ki18n + kwindowsystem + kiconthemes + kcoreaddons + kcmutils + kxmlgui + libkscreen + libxi + plasma-wayland-protocols + qtsensors + qtbase-5 + qtx11extras + xcb-util)) + (propagated-inputs (list plasma-framework)) + (home-page "https://invent.kde.org/plasma/kscreen") + (synopsis "Screen management software") + (description "This package provides the screen management software for +KDE Plasma Workspaces.") + (license license:gpl2+))) + (define-public ksshaskpass (package (name "ksshaskpass")