summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-07 20:26:59 +0200
committerDavid Craven <david@craven.ch>2016-08-30 22:38:33 +0200
commit469a743cd0e24732f42eea99795837c93d8f0f05 (patch)
tree3bbe7263cec3f5251e3844747dc6e313c010a59b /gnu
parent7ac520dd2257e7903de855aba821a6e061cac0e4 (diff)
gnu: Add kxmlgui.
* gnu/packages/kde-frameworks.scm (kxmlgui): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm52
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index de6d2cf250..9a90adc76b 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2571,3 +2571,55 @@ It supports rich text as well as plain text.")
desktop-wide storage for passwords and the kwalletd daemon used to safely store
the passwords on KDE work spaces.")
(license license:lgpl2.1+)))
+
+(define-public kxmlgui
+ (package
+ (name "kxmlgui")
+ (version "5.24.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1qhixldhhcbklmrpjh67440h1rrzqy70h57hw6ialjdsr3pl6ihp"))))
+ (build-system cmake-build-system)
+ (propagated-inputs
+ `(("kconfig" ,kconfig)
+ ("kconfigwidgets" ,kconfigwidgets)))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("attica" ,attica)
+ ("kauth", kauth)
+ ("kcodecs" ,kcodecs)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kglobalaccel" ,kglobalaccel)
+ ("kiconthemes" ,kiconthemes)
+ ("kitemviews" ,kitemviews)
+ ("ki18n" ,ki18n)
+ ("ktextwidgets" ,ktextwidgets)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("kwindowsystem" ,kwindowsystem)
+ ("qtbase" ,qtbase)
+ ("sonnet" ,sonnet)))
+ (arguments
+ `(#:tests? #f ; FIXME: 1/5 tests fail.
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "HOME" (getcwd))
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
+ #t)))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "Framework for managing menu and toolbar actions")
+ (description "KXMLGUI provides a framework for managing menu and toolbar
+actions in an abstract way. The actions are configured through a XML description
+and hooks in the application code. The framework supports merging of multiple
+descriptions for integrating actions from plugins.")
+ ;; dual licensed
+ (license (list license:gpl2+ license:lgpl2.1+))))