mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: kio-extras: Fix kiod path.
* gnu/packages/kde.scm (kio-extras)[arguments]: Realign. <#:phases>: Add fix-kiod-path phase. Change-Id: Ifda410609323dc55797a9e97191909824679dd8f Signed-off-by: Zheng Junjie <z572@z572.online>
This commit is contained in:
parent
9d9a6291c4
commit
3cec3624ae
1 changed files with 21 additions and 7 deletions
|
@ -753,13 +753,27 @@ KDSoap.")
|
|||
"0h720wcgsdx9h5vlr4flxrd3djmhwvlwkrf0yzwsf4amcb9wds8r"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list #:phases #~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" (getcwd))
|
||||
(setenv "TMPDIR" (getcwd))
|
||||
(invoke "ctest" "-E" "(thumbnailtest|testkioarchive)")))))))
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(setenv "HOME" (getcwd))
|
||||
(setenv "TMPDIR" (getcwd))
|
||||
(invoke "ctest" "-E"
|
||||
"(thumbnailtest|testkioarchive)"))))
|
||||
(add-after 'install 'fix-kiod-path
|
||||
(lambda _
|
||||
(let* ((kio #$(this-package-input "kio"))
|
||||
(kf-version
|
||||
#$(version-major
|
||||
(package-version (this-package-input "kio")))))
|
||||
(substitute* (string-append #$output
|
||||
"/share/dbus-1/services/"
|
||||
"org.kde.kmtpd5.service")
|
||||
(("Exec=.*$")
|
||||
(string-append "Exec=" kio "/libexec/kf" kf-version
|
||||
"/kiod" kf-version "\n")))))))))
|
||||
(native-inputs (list extra-cmake-modules dbus kdoctools pkg-config qttools))
|
||||
;; TODO: libappimage
|
||||
(inputs (list gperf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue