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>master
parent
dae712644d
commit
f59c412682
|
@ -1326,6 +1326,13 @@ different notification systems.")
|
||||||
"-DKDE_INSTALL_LIBEXECDIR=libexec"
|
"-DKDE_INSTALL_LIBEXECDIR=libexec"
|
||||||
;; So kdeconnect.so isn't installed to lib/plugins
|
;; So kdeconnect.so isn't installed to lib/plugins
|
||||||
"-DPLUGIN_INSTALL_DIR=lib/qt6/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
|
#:tests? #f)) ; tests fail hard in our build environment
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list extra-cmake-modules
|
(list extra-cmake-modules
|
||||||
|
|
Reference in New Issue