aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/kde-plasma.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-06 16:46:25 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:12 +0800
commit467e3a92c1eb7e76eb8ed6a7c69f736f787c3ef2 (patch)
treef86087073a0d1ba773d8c4002ac64d032417f3e2 /gnu/packages/kde-plasma.scm
parentdf1825f26c2983cfe4afe5b38f9c95f6b8d3b74e (diff)
downloadguix-467e3a92c1eb7e76eb8ed6a7c69f736f787c3ef2.tar.gz
guix-467e3a92c1eb7e76eb8ed6a7c69f736f787c3ef2.zip
gnu: Add krdp.
* gnu/packages/kde-plasma.scm (krdp): New variable. Change-Id: I3bbd44ffd4f2ad512542a2f1afd7a4c9f6ec8ad1
Diffstat (limited to 'gnu/packages/kde-plasma.scm')
-rw-r--r--gnu/packages/kde-plasma.scm54
1 files changed, 54 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 0223ef506e..6806eb3b47 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -75,6 +75,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages package-management) ; flatpak
+ #:use-module (gnu packages rdesktop)
#:use-module (gnu packages unicode)
#:use-module (gnu packages video)
#:use-module (gnu packages vpn)
@@ -88,6 +89,8 @@
#:use-module (gnu packages base)
#:use-module (gnu packages gps)
#:use-module (gnu packages web)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages opencl))
(define-public bluedevil
@@ -395,6 +398,57 @@ concept.")
(home-page "https://invent.kde.org/plasma/kactivitymanagerd")
(license (list license:gpl2 license:gpl3))))
+(define-public krdp
+ (package
+ (name "krdp")
+ (version "6.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/plasma/"
+ version "/" name "-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0xp1zi51fpw9zcyry6g8qrm7k94pbi6kw3d8dakdnq5qrkcsvc8g"))))
+ (build-system qt-build-system)
+ (arguments (list #:qtbase qtbase
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'hardcode-openssl
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/kcm/kcmkrdpserver.cpp"
+ (("\"openssl\"")
+ (string-append
+ "\""
+ (search-input-file
+ inputs "/bin/openssl")
+ "\""))))))))
+ (native-inputs (list extra-cmake-modules
+ pkg-config
+ ;; for wayland-scanner
+ wayland))
+ (inputs (list
+ kconfig
+ kdbusaddons
+ kcmutils
+ ki18n
+ kcoreaddons
+ kstatusnotifieritem
+ kpipewire
+ openssl
+ plasma-wayland-protocols
+ freerdp
+ qtwayland
+ qtdeclarative
+ qtkeychain-qt6
+ wayland-protocols
+ wayland))
+ (synopsis "Library and examples for creating an RDP server")
+ (description "This package provides a library and examples for creating an
+RDP server.")
+ (home-page "https://invent.kde.org/plasma/krdp")
+ (license license:lgpl2.0+)))
+
(define-public kde-gtk-config
(package
(name "kde-gtk-config")