diff options
author | Petr Hodina <phodina@protonmail.com> | 2022-08-26 07:50:23 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-11-21 22:01:08 +0100 |
commit | fb94d0a17d83d5f11a7c956d606018a23d504f84 (patch) | |
tree | fb6247c937c53964241bb69fa3e28e25521bbf66 /gnu/packages | |
parent | 2f68492d10940bd88e1bd662188d21ce76178676 (diff) | |
download | guix-fb94d0a17d83d5f11a7c956d606018a23d504f84.tar.gz |
gnu: Add kwayland-integration.
* gnu/packages/kde-plasma.scm (kwayland-integration): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/kde-plasma.scm | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index af623e2250..31b143ab4e 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -395,3 +395,48 @@ wayland-server API.") (license (list license:lgpl2.1 license:lgpl3 ;; src/server/drm_fourcc.h carries the MIT license. license:expat)))) + +(define-public kwayland-integration + (package + (name "kwayland-integration") + (version "5.25.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" + version "/" name "-" + version ".tar.xz")) + (sha256 + (base32 + "10xl7yrj519b9s5vq0hqqfz3vvg1fdwggw96snzm44iwycqbgss8")))) + (build-system qt-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (delete 'check) + (add-after 'install 'check-after-install + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" (getcwd)) + (setenv "XDG_RUNTIME_DIR" (getcwd)) + (setenv "QT_QPA_PLATFORM" "offscreen") + ;; https://bugs.gentoo.org/668872 + (invoke "ctest" "-E" "(idleTest-kwayland-test)")))) + (add-before 'check-after-install 'check-setup + (lambda* (#:key outputs #:allow-other-keys) + (setenv "QT_PLUGIN_PATH" + (string-append #$output + "/lib/qt5/plugins:" + (getenv "QT_PLUGIN_PATH")))))))) + (native-inputs (list extra-cmake-modules wayland-protocols pkg-config)) + (inputs (list kguiaddons + kidletime + kwindowsystem + kwayland + libxkbcommon + wayland + qtbase-5 + qtwayland)) + (synopsis "KWayland runtime integration plugins") + (description "This package provides Wayland integration plugins for various +KDE Frameworks components.") + (home-page "https://invent.kde.org/plasma/kwayland-integration") + (license (list license:lgpl2.1 license:lgpl3)))) |