gnu: kdeconnect: Fix dbus autostart for kdeconnectd.

* gnu/packages/kde.scm (kdeconnect)[arguments]: Add fix-dbus-autostart phase.

Change-Id: I27ac61e41f15f9ff2de658fbd04633820f5e0966
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Zheng Junjie 2024-07-30 13:34:43 +08:00 committed by 宋文武
parent dae712644d
commit f59c412682
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -1326,6 +1326,13 @@ (define-public kdeconnect
"-DKDE_INSTALL_LIBEXECDIR=libexec"
;; So kdeconnect.so isn't installed to lib/plugins
"-DPLUGIN_INSTALL_DIR=lib/qt6/plugins")
#:phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-dbus-autostart
(lambda _
;; 'dbus-daemon' requires an absolute Exec path.
(substitute* "daemon/org.kde.kdeconnect.service.in"
(("kdeconnectd")
(string-append #$output "/bin/kdeconnectd"))))))
#:tests? #f)) ; tests fail hard in our build environment
(native-inputs
(list extra-cmake-modules