mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: Add kconfigwidgets-5.
* gnu/packages/kde-frameworks.scm (kconfigwidgets-5): New variable. Change-Id: I0b209ffc5210eae5aa3e2df7f34b038c614a561d
This commit is contained in:
parent
fc3365fff0
commit
7d1ed997cc
1 changed files with 40 additions and 0 deletions
|
@ -3055,6 +3055,46 @@ (define-public kconfigwidgets
|
||||||
;; dual licensed
|
;; dual licensed
|
||||||
(license (list license:gpl2+ license:lgpl2.1+))))
|
(license (list license:gpl2+ license:lgpl2.1+))))
|
||||||
|
|
||||||
|
(define-public kconfigwidgets-5
|
||||||
|
(package
|
||||||
|
(inherit kconfigwidgets)
|
||||||
|
(name "kconfigwidgets")
|
||||||
|
(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
|
||||||
|
"1f65ayyyadiajf7xgf7369rly2yzigh6gqlb0nkgg8cp2bq9fmp4"))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list kauth-5 kcodecs-5 kconfig-5 kwidgetsaddons-5))
|
||||||
|
(native-inputs
|
||||||
|
(list extra-cmake-modules kdoctools-5 qttools-5))
|
||||||
|
(inputs
|
||||||
|
(list kcoreaddons-5
|
||||||
|
kguiaddons-5
|
||||||
|
;; todo: PythonModuleGeneration
|
||||||
|
ki18n-5))
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch
|
||||||
|
(lambda _
|
||||||
|
(substitute* "src/khelpclient.cpp"
|
||||||
|
;; make QDirIterator follow symlinks
|
||||||
|
(("^\\s*(QDirIterator it\\(.*, QDirIterator::Subdirectories)(\\);)" _ a b)
|
||||||
|
(string-append a " | QDirIterator::FollowSymlinks" b)))))
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(setenv "HOME"
|
||||||
|
(getcwd))
|
||||||
|
(invoke "ctest" "-E" "kstandardactiontest")))))))))
|
||||||
|
|
||||||
(define-public kdeclarative
|
(define-public kdeclarative
|
||||||
(package
|
(package
|
||||||
(name "kdeclarative")
|
(name "kdeclarative")
|
||||||
|
|
Loading…
Reference in a new issue