aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-07 20:21:19 +0200
committerDavid Craven <david@craven.ch>2016-08-30 22:38:31 +0200
commit6609b1a3948f5bd861d895c3297ef4d1768390f3 (patch)
tree0fe9cf990c4656aef3169eef21b5ca48d9996e26 /gnu
parent10ca449af1c2c0f67e5b64ae3a22f596c68a4bd4 (diff)
downloadpatches-6609b1a3948f5bd861d895c3297ef4d1768390f3.tar
patches-6609b1a3948f5bd861d895c3297ef4d1768390f3.tar.gz
gnu: Add kparts.
* gnu/packages/kde-frameworks.scm (kparts): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-frameworks.scm50
1 files changed, 50 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 60b00cc0c3..5a46aee324 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2228,3 +2228,53 @@ specification.")
notifications which can be embedded in your application.")
;; dual licensed
(license (list license:lgpl2.0+ license:lgpl2.1+))))
+
+(define-public kparts
+ (package
+ (name "kparts")
+ (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
+ "0z7qr93aq02i7g7cxgypx2rzlnsvbsx9cjblb0ijmad1nb8w3mix"))))
+ (build-system cmake-build-system)
+ (propagated-inputs
+ `(("kio" ,kio)
+ ("ktextwidgets" ,ktextwidgets)
+ ("kxmlgui" ,kxmlgui)))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("kauth" ,kauth)
+ ("kbookmarks" ,kbookmarks)
+ ("kcodecs" ,kcodecs)
+ ("kcompletion" ,kcompletion)
+ ("kconfig" ,kconfig)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kiconthemes" ,kiconthemes)
+ ("kitemviews" ,kitemviews)
+ ("ki18n" ,ki18n)
+ ("kjobwidgets" ,kjobwidgets)
+ ("kservice" ,kservice)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("qtbase" ,qtbase)
+ ("solid" ,solid)
+ ("sonnet" ,sonnet)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ #t)))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "Plugin framework for user interface components")
+ (description "This library implements the framework for KDE parts, which are
+widgets with a user-interface defined in terms of actions.")
+ (license license:lgpl2.1+)))