From b4275d5cfaf41759403cf97d178b2d6c26b84c46 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Thu, 14 Oct 2021 18:11:57 +1100 Subject: [PATCH v4 16/73] gnu: Add layer-shell-qt. * gnu/packages/kde-plasma.scm (layer-shell-qt): New variable. diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index da6912affe..39716187fd 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2020 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2021 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -37,6 +38,7 @@ (define-module (gnu packages kde-plasma) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages qt) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (gnu packages web)) @@ -157,6 +159,32 @@ (define-public ksshaskpass call it if it is not associated to a terminal.") (license license:gpl2+))) +(define-public layer-shell-qt + (package + (name "layer-shell-qt") + (version "5.24.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" version + "/layer-shell-qt-" version ".tar.xz")) + (sha256 + (base32 + "1aq089pws39w9ncsiqzgg3qvfg5hc5a74pzra0smdpy5ipfsb6a4")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules pkg-config)) + (inputs + (list libxkbcommon + qtbase-5 + qtdeclarative-5 + qtwayland + wayland + wayland-protocols)) + (home-page "https://invent.kde.org/plasma/layer-shell-qt") + (synopsis "Qt component for the Wayland ql-layer-shell protocol") + (description "Qt component for the Wayland ql-layer-shell protocol.") + (license license:gpl2+))) + (define-public kscreenlocker (package (name "kscreenlocker") -- 2.37.0