gnu: Add kparts.

* gnu/packages/kde-frameworks.scm (kparts): New variable.
This commit is contained in:
David Craven 2016-08-07 20:21:19 +02:00
parent 10ca449af1
commit 6609b1a394
No known key found for this signature in database
GPG key ID: C5E051C79C0BECDB

View file

@ -2228,3 +2228,53 @@ (define-public knotifyconfig
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+)))