diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-08 14:58:53 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-18 10:45:28 +0800 |
commit | 47feb4492bf685b490e3e75705810f8c2a734a52 (patch) | |
tree | 682d2abf2eb534314a2f143b56c2919a7a8f4cb0 | |
parent | 729c48764291041011b86865c863edf631ffb240 (diff) | |
download | guix-47feb4492bf685b490e3e75705810f8c2a734a52.tar.gz guix-47feb4492bf685b490e3e75705810f8c2a734a52.zip |
gnu: Add kwayland-5.
* gnu/packages/kde-frameworks.scm (kwayland-5): New variable.
Change-Id: I0c4c3f89d2826bd1e481babe7e6a70bc0cbf9503
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index ce4dfcab2d..c72eb6b2aa 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1498,6 +1498,53 @@ are adjusted to be what a Qt developer expects - two arguments of int are represented by a QPoint or a QSize.") (license license:lgpl2.1+))) +(define-public kwayland-5 + (package + (inherit kwayland) + (name "kwayland") + (version "5.116.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1n5fq0gppx6rzgzkkskd077jygzj7cindb7zwr35yvbg5l69gdc8")))) + (native-inputs + (list extra-cmake-modules pkg-config)) + (inputs + (list libxkbcommon + plasma-wayland-protocols + qtwayland-5 + wayland + wayland-protocols)) + (arguments + (list + ;; Tests spawn Wayland sessions that cannot run in parallel. + #:parallel-tests? #f + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-XDG_RUNTIME_DIR + (lambda _ + (setenv "XDG_RUNTIME_DIR" (getcwd)))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "ctest" "-E" + (string-append + "(" + (string-join + ;; XXX: maybe is upstream bug + '("kwayland-testWaylandRegistry" + "kwayland-testPlasmaShell" + "kwayland-testPlasmaWindowModel" + ;; The 'kwayland-testXdgForeign' may fail on + ;; powerpc64le with a 'Subprocess aborted' error. + "kwayland-testXdgForeign") "|") + ")")))))))))) + (define-public kwidgetsaddons (package (name "kwidgetsaddons") |