gnu: Add kde-frameworkintegration.

* gnu/packages/kde-frameworks.scm (kde-frameworkintegration): New variable.
This commit is contained in:
Hartmut Goebel 2017-03-19 22:01:42 +01:00
parent cb76c4e316
commit 4cdf00d6d9
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 58 additions and 0 deletions

View File

@ -3027,3 +3027,61 @@ script engines.")
(define kinit-bootstrap (define kinit-bootstrap
((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit)) ((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit))
;; Tier 4
;;
;; Tier 4 frameworks can be mostly ignored by application programmers; this
;; tier consists of plugins acting behind the scenes to provide additional
;; functionality or platform integration to existing frameworks (including
;; Qt).
(define-public kde-frameworkintegration
(package
(name "kde-frameworkintegration")
(version "5.34.0")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://kde/stable/frameworks/"
(version-major+minor version) "/"
"frameworkintegration-" version ".tar.xz"))
(sha256
(base32
"0hq1r2znjzy0wzm3nsclqmih1aia5300bsf87a2l4919q0ildb20"))))
(build-system cmake-build-system)
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
("pkg-config" ,pkg-config)))
;; Optional packages not yet in Guix: packagekitqt5, AppStreamQt
(inputs
`(("kconfig" ,kconfig)
("kconfigwidgets" ,kconfigwidgets)
("kcoreaddons" ,kcoreaddons)
("ki18n" ,ki18n)
("kiconthemes" ,kiconthemes)
("kitemviews" ,kitemviews)
("knewstuff" ,knewstuff)
("knotificantions" ,knotifications)
("kpackage" ,kpackage)
("kwidgetsaddons" ,kwidgetsaddons)
("qtbase" ,qtbase)
("qtx11extras" ,qtx11extras)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda _
(setenv "HOME" (getcwd))
;; Make Qt render "offscreen", required for tests
(setenv "QT_QPA_PLATFORM" "offscreen")
#t)))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "KDE Frameworks 5 workspace and cross-framework integration plugins")
(description "Framework Integration is a set of plugins responsible for
better integration of Qt applications when running on a KDE Plasma
workspace.")
;; This package is distributed under either LGPL2 or LGPL3, but some
;; files are explicitly LGPL2+.
(license '(lgpl2.0 lgpl3.0 lgpl2.0+))
(properties `((upstream-name . "frameworkintegration")))))