me
/
guix
Archived
1
0
Fork 0

gnu: Add kwayland-integration.

* gnu/packages/kde-plasma.scm (kwayland-integration): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
Petr Hodina 2022-08-26 07:50:23 +02:00 committed by Marius Bakke
parent 2f68492d10
commit fb94d0a17d
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 45 additions and 0 deletions

View File

@ -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))))