aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-08 14:09:52 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:27 +0800
commitf82e8303e5b884b4954fd773e3e891a860cbdccc (patch)
treef487de4cd0b69f2e7431fad17c478b106d52b0fc /gnu
parent9b2018b7086a9c41b08d2e2e7477ff98461721ca (diff)
downloadguix-f82e8303e5b884b4954fd773e3e891a860cbdccc.tar.gz
guix-f82e8303e5b884b4954fd773e3e891a860cbdccc.zip
gnu: Add kxmlgui-5.
* gnu/packages/kde-frameworks.scm (kxmlgui-5): New variable. Change-Id: I651eb469f9bcce215546d4a79d64bec8bafcce01
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 436a92854a..ebfb7309cb 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -4234,6 +4234,49 @@ descriptions for integrating actions from plugins.")
;; dual licensed
(license (list license:gpl2+ license:lgpl2.1+))))
+(define-public kxmlgui-5
+ (package
+ (inherit kxmlgui)
+ (name "kxmlgui")
+ (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
+ "0h3s3jcmn4pzcfxs4hywrgk92dd5hfx9hzyy14f03c0dafi6crb3"))))
+ (propagated-inputs
+ (list kconfig-5 kconfigwidgets-5))
+ (native-inputs
+ (list extra-cmake-modules qttools-5 xorg-server-for-tests))
+ (inputs
+ (list attica-5
+ kauth-5
+ kcodecs-5
+ kcoreaddons-5
+ kglobalaccel-5
+ kguiaddons-5
+ kiconthemes-5
+ kitemviews-5
+ ki18n-5
+ ktextwidgets-5
+ kwidgetsaddons-5
+ kwindowsystem-5
+ qtbase-5
+ sonnet-5))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" (getcwd))
+ (setenv "QT_QPA_PLATFORM" "offscreen") ;; These tests fail
+ (invoke "ctest" "-E" "(ktoolbar_unittest|kxmlgui_unittest)")))))))))
+
(define-public kxmlrpcclient
(package
(name "kxmlrpcclient")